Docker Container
Docker container is a running instance of an image. A container combined only libraries and settings required to make the application work. It is a lightweight and portable encapsulated environment for an application.
Run Docker Container
Use the docker run command to launch a Docker container on your system. For example below command will create a Docker container from the hello-world image.
Now create a real instance of Docker container using the CentOS operating system. The option -it will provide an interactive session with pseudo-TTY enabled. This provides you container shell immediately.
Also, try our customized Ubuntu docker image with ssh access enabled in our docker hub repository.
List Docker Containers
Use the docker ps command to list all running containers on your current system. This will not list stopped containers. This will show you the Container ID, name, and other use full information about the container.
0 Comments
CAN FEEDBACK
Emoji