docker_push
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker_push [2015/10/06 17:02] – luke7858 | docker_push [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ==== Docker Hub ==== | ||
| + | Sign up for a free account: | ||
| + | https:// | ||
| + | |||
| + | ------------------------------------------------------------------------------ | ||
| + | |||
| + | |||
| ====Registering Your Machine ==== | ====Registering Your Machine ==== | ||
| == Method 1== | == Method 1== | ||
| Line 17: | Line 24: | ||
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ||
| - | ==== Imaging | + | ==== Committing |
| - | source: https:// | + | source: https:// |
| \\ | \\ | ||
| First you will need to commit a container, then you can push it to the repository | First you will need to commit a container, then you can push it to the repository | ||
| <sxh bash> | <sxh bash> | ||
| - | docker commit containerID | + | docker commit containerID |
| </ | </ | ||
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ||
| === Tagging Image Before Pushing ==== | === Tagging Image Before Pushing ==== | ||
| + | If you forgot to tage the container before you committed you can do it now | ||
| + | <sxh bash> | ||
| + | docker images | ||
| + | </ | ||
| <sxh bash> | <sxh bash> | ||
| docker tag ImageID luke/ | docker tag ImageID luke/ | ||
| Line 34: | Line 45: | ||
| ==== Pushing an Image ==== | ==== Pushing an Image ==== | ||
| <sxh bash> | <sxh bash> | ||
| - | docker push luke/test1 | + | docker push luke/test |
| </ | </ | ||
docker_push.1444150948.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
