This section contains core Docker commands for running containers and pushing images to the CGC images registry.
First make sure Docker is running
- Mac OS 10.10.3 Yosemite or newer: run Docker Desktop for Mac and start a terminal of your choice.
- Mac OS 10.8 Mountain Lion or newer: run Docker Quickstart terminal to start Docker Machine.
- Windows 10: run Docker Desktop for Windows and start a terminal of your choice.
- Windows 7 or 8: run Docker Quickstart Terminal to start Docker Machine.
- Linux: no action required.
|This returns a prompt for your CGC credentials, and then, if satisfied, gives you access to the CGC registry. Don't forget to add |
You should enter your authentication token in response to the password prompt, not your CGC password.
|This runs a Docker container on your local machine. |
If you are opening an image from Docker Hub, specify
If you are opening an image from the CGC registry,
|This lists all your Docker containers.|
|This takes an image (snapshot) of the container with ID |
You can find the
|This lists all your local Docker images.|
|This tags the image with a reference to|
the CGC registry.
|This uploads your Docker image to the CGC registry. , so that the tool in it can be used on the CGC.|
|This removes the specified Docker image from your local machine|
|This downloads the specified image from the CGC registry.|
|This stops your connection to the CGC image registry.|
Updated less than a minute ago