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> | + | <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''' | + | * '''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 184: | Line 184: | ||
* [[Docker Swarm]], [[Docker Scout]] | * [[Docker Swarm]], [[Docker Scout]] | ||
* <code>[[crane]]</code> tool for interacting with [[remote images]] and [[registries]]. | * <code>[[crane]]</code> tool for interacting with [[remote images]] and [[registries]]. | ||
− | |||
== Activities == | == Activities == | ||
Line 193: | Line 192: | ||
# 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 | ||
− | |||
== See also == | == See also == |
Advertising: