Run a simple application (Engine)
Run a simple application
In the “Hello world in a container“ you launched your first containers using the docker run
command. You ran an interactive container that ran in the foreground. You also ran a detached container that ran in the background. In the process you learned about several Docker commands:
-
docker ps
- Lists containers. -
docker logs
- Shows us the standard output of a container. -
docker stop
- Stops running containers.
Learn about the Docker client
If you didn’t realize it yet, you’ve been using the Docker client each time you typed docker
in your Bash terminal. The client is a simple command line client also known as a command-line interface (CLI). Each action you ca