Docker: Difference between revisions
m →Resources: Containerize an application |
|||
Line 41: | Line 41: | ||
**[https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers Dev Containers plugin for VS Code] | **[https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers Dev Containers plugin for VS Code] | ||
**[https://semaphoreci.com/community/tutorials/dockerizing-a-php-application Dockerizing a PHP Application] | **[https://semaphoreci.com/community/tutorials/dockerizing-a-php-application Dockerizing a PHP Application] | ||
**[https://docs.docker.com/get-started/02_our_app/ Containerize an application] | |||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:Container]] | [[Category:Container]] | ||
[[Category:Docker]] | [[Category:Docker]] |
Revision as of 10:54, 7 June 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