24 lines
509 B
Plaintext
24 lines
509 B
Plaintext
= Docker =
|
|
|
|
Docker is a tool for containerizing (basically VM'ing) programs
|
|
|
|
== Install ==
|
|
|
|
On gentoo install docker as directed, and enable all of the required flags on
|
|
the wiki (they change with different versions)
|
|
|
|
== Setup ==
|
|
|
|
the `docker` command is all thats needed to run a container.
|
|
|
|
== docker-compose ==
|
|
|
|
Docker-compose allows you to automate setting up several containers into a
|
|
single command.
|
|
|
|
== Useful commands ==
|
|
|
|
=== Get a shell on a container ===
|
|
|
|
`docker exec -it <CONTAINER_ID> /bin/bash`
|