Users Guide

Table Of Contents
Do not run CPU intensive Docker containers.
Enable Docker-CE
Use the following commands in the OS10 Linux Shell:
sudo systemctl enable docker
sudo systemctl start docker
NOTE: When you run the docker run command to create a container, you must use the --net=host parameter.
Install a Docker image
To pull the latest Docker image from a Docker hub:
docker pull nginx
Or
docker pull nginx:latest
NOTE: Docker downloads the latest image if you do not specify the image file name.
To pull a Docker image from a private repository:
docker pull private-repository-URL
View installed local images
Use one of the following commands:
docker images
Or
docker image ls
Or
docker image inspect node:latest
Remove installed local images
Remove the Puppet Agent image:
docker image rm puppet-agent
Remove the nginx image with the latest tag:
docker image rm nginx:latest
Install and start images
Create a container with the latest image in the host network namespace:
docker run -d --net=host --name mynode node
Create a container with the stretch image in the host network namespace:
docker run -d --net=host --name strnode node:stretch
Create a container with the Puppet Agent image in the host network namespace:
docker run -d --net=host --name mypuppet puppet-agent
Start an existing container:
docker start --name container-name
System management
245