README first.



  • Notes:

    When using help in docker cli, remember to use the --help and not just help.
    Without the -- docker thinks help is an image.

    The brief description of invoking a container via the cli.

    $ docker run centos /usr/bin/free -a
    

    run - runs a new container.
    centos - is the base image.
    /usr/bin/free - is the command I want to run in the container.
    -a - is the option.

    Notes:

    • When using docker images if you do not specify a version. Docker will default to the latest version.
    • Use the --rm option to docker run when you want docker to cleanup after it as exited.

Log in to reply
 

© Lightnetics 2024