Docker: Difference between revisions
No edit summary |
mNo edit summary Tag: visualeditor |
||
Line 34: | Line 34: | ||
$ docker rmi -f imageid | $ docker rmi -f imageid | ||
</source> | </source> | ||
== Resources == | |||
* [https://medium.com/@brentrobinson5/containerised-ci-cd-pipelines-with-azure-devops-74064c679f20 Containerised CI/CD pipelines with Azure DevOps | by Brent Robinson | Medium] | |||
[[Category:Development]] | [[Category:Development]] |
Revision as of 15:18, 18 April 2023
Copy files to/from container
$ docker cp myfile.txt container_name:/srv/www/folder/
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
Push image
$ docker push maryatdocker/docker-whale
Remove an image
$ docker rmi -f imageid