Editing Docker

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 12: Line 12:
  
 
On macOS you can follow official documentation https://docs.docker.com/docker-for-mac/install/ which requires to create and account to download installer. You can also try:
 
On macOS you can follow official documentation https://docs.docker.com/docker-for-mac/install/ which requires to create and account to download installer. You can also try:
<code>[[brew cask install docker]]</code> or try to follow https://pilsniak.com/how-to-install-docker-on-mac-os-using-brew/ instructions:
+
<code>brew cask install docker</code> or try to follow https://pilsniak.com/how-to-install-docker-on-mac-os-using-brew/ instructions:
 
: <code>brew install docker [[docker-compose]] docker-machine</code>(to install docker and docker-compose)
 
: <code>brew install docker [[docker-compose]] docker-machine</code>(to install docker and docker-compose)
 
: <code>brew cask install virtualbox</code>
 
: <code>brew cask install virtualbox</code>
Line 102: Line 102:
 
** <code>docker container ls -a </code>. See also <code>[[docker-compose]] ps</code>
 
** <code>docker container ls -a </code>. See also <code>[[docker-compose]] ps</code>
  
* '''Login'''/[[Connect into a running container]]:
+
* '''Login/Connect''' into a running container:
 
** <code>[[docker exec]]<ref>https://docs.docker.com/engine/reference/commandline/exec/</ref> -it <my_container_name> bash</code>
 
** <code>[[docker exec]]<ref>https://docs.docker.com/engine/reference/commandline/exec/</ref> -it <my_container_name> bash</code>
 
** <code>docker exec -it <my_container_name> sh</code>
 
** <code>docker exec -it <my_container_name> sh</code>
Line 181: Line 181:
 
* [[Docker Desktop on Windows]] ~ 500 MB
 
* [[Docker Desktop on Windows]] ~ 500 MB
 
* [[Benjamin Golub]]
 
* [[Benjamin Golub]]
* [[Docker download rate limit]] <ref>https://docs.docker.com/docker-hub/download-rate-limit/</ref>
 
* [[Docker Swarm]], [[Docker Scout]]
 
* <code>[[crane]]</code> tool for interacting with [[remote images]] and [[registries]].
 
* [[systemctl restart]]
 
  
 
== Activities ==
 
== Activities ==
 
# Read docker blog: https://blog.docker.com/
 
# Read docker blog: https://blog.docker.com/
 
# Read [[Docker Engine release notes]] (2017) and [[Docker CE]] or [[Docker EE]] releases.
 
# Read [[Docker Engine release notes]] (2017) and [[Docker CE]] or [[Docker EE]] releases.
# Understand the difference between an [[docker image|image]] and a container, Docker Images vs. Containers: https://stackoverflow.com/a/26960888
+
# Understand the difference between an image and a container, Docker Images vs. Containers: https://stackoverflow.com/a/26960888
 
# Understand the difference between <code>[[docker start]]</code> and <code>[[docker run]]</code>: https://stackoverflow.com/questions/34782678/difference-between-running-and-starting-a-docker-container. See also [[runC]]
 
# Understand the difference between <code>[[docker start]]</code> and <code>[[docker run]]</code>: https://stackoverflow.com/questions/34782678/difference-between-running-and-starting-a-docker-container. See also [[runC]]
 
# Read Stackoverflow questions related to docker: https://stackoverflow.com/questions/tagged/docker?tab=Votes
 
# Read Stackoverflow questions related to docker: https://stackoverflow.com/questions/tagged/docker?tab=Votes
 
# Read about Docker Image Manifest Version 2, Schema 2: https://github.com/docker/distribution/blob/fda42e5ef908bdba722d435ff1f330d40dfcd56c/docs/spec/manifest-v2-2.md
 
# Read about Docker Image Manifest Version 2, Schema 2: https://github.com/docker/distribution/blob/fda42e5ef908bdba722d435ff1f330d40dfcd56c/docs/spec/manifest-v2-2.md
# Duplicate and image using <code>[[docker commit]]</code> command
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: