Public Repository

Last pushed: 9 months ago
Short Description
docker run -d -p 80:80 -p 443:443 -p 3306:3306 --name container1 stackheadlabs/wordpress
Full Description

Download container

docker pull stackheadlabs/wordpress

To run container

docker run -d -p 80:80 -p 443:443 -p 3306:3306 --name <container name> stackheadlabs/wordpress

Example:

To run first container
docker run -d -p 80:80 -p 443:443 -p 3306:3306 --name container-1 stackheadlabs/wordpress

To run second container
docker run -d -p 80:80 -p 443:443 -p 3306:3306 --name container-2 stackheadlabs/wordpress

++++++++++++++++++++++++++++

To enter the shell of the container

docker exec -i -t container-1 /bin/bash

Docker Pull Command
Owner
stackheadlabs

Comments (0)