O'Reilly logo

Build Your Own PaaS with Docker by Oskar Hane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Docker command-line interface

The command line interface is where we communicate with the daemon using the Docker command. The Docker daemon is the background process that receives the commands that are typed by us.

In the previous chapter, we ran a few Docker commands to start and stop containers as well as to list containers and images. Now, we are going to learn a few more that will help us when handling containers for our PaaS, as follows:

  • docker logs <container-ID|name>: Everything that is written to the STDOUT containers will end up in the file that can be accessed via this command. This is a very handy way to output information from within a container, as shown here:
  • docker export <container-ID|name>: If you have a container that holds ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required