Docker: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
add tag an image
add login
Line 6: Line 6:


Tag an image
Tag an image
<syntaxhighlight lang="bash">
 
<source lang="bash">
$ docker tag 7d9495d03763 maryatdocker/docker-whale:latest
$ docker tag 7d9495d03763 maryatdocker/docker-whale:latest
</syntaxhighlight>
</source>
 
Log-in for push/pull operations
 
<source lang="bash">
$ docker login --username=username --email=joe@mosh.com
</source>

Revision as of 13:11, 3 May 2016

List images

$ docker images

Tag an image

$ docker tag 7d9495d03763 maryatdocker/docker-whale:latest

Log-in for push/pull operations

$ docker login --username=username --email=joe@mosh.com