⇤ ← Revision 1 as of 2019-02-10 07:07:55
Size: 555
Comment:
|
Size: 817
Comment: Inspect containers
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
== Stuff I never remember == === Inspect containers === {{{#!highlight sh numbers=off # Shell into a new copy of a container docker run -it --entrypoint=/bin/sh ${CONTAINER} # Shell into a running container docker exec -it ${container} /bin/sh }}} |
Docker
Presentation: Docker without Docker
systemd and docker
Running Docker containers with systemd: Describes interfacing systemd and docker directly, along with the systemd-docker wrapper.
Stuff I never remember
Inspect containers
# Shell into a new copy of a container
docker run -it --entrypoint=/bin/sh ${CONTAINER}
# Shell into a running container
docker exec -it ${container} /bin/sh