I am new to podman, trying to create pod with two container mysql and wordpress. Below are podman cli command.
podman run --name mysql --pod new:mysqlpod -e MYSQL_ROOT_PASSWORD=sdk123 -d docker.io/library/mysql
podman run --name wordpress -p 8080:80 --pod mysqlpod -e WORDPRESS_DB_HOST=mysql:3306 -e WORDPRESS_DB_USER=root -e WORDPRESS_DB_PASSWORD=sdk123 -e WORDPRESS_DB_NAME=mywordpress -e WORDPRESS_TABLE_PREFIX=wp_ -d docker.io/library/wordpress
I am testing above pod in http://lab.redhat.com/podman-deploy.
When i try to create wordpress container, i get below error
cannot set port bindings on an existing container network namespace