Sobes.tech
Junior — Middle

Which command is used to deploy a container in Docker?

sobes.tech AI

Answer from AI

To deploy (run) a container in Docker, the command docker run is used.

Example:

docker run -d -p 80:80 nginx

This command will start a container with the nginx image in the background (-d), forwarding port 80 of the container to port 80 of the host.

Which command is used to deploy a container in… - sobes.tech