Docker Cookbook

From Littledamien Wiki
Revision as of 13:19, 11 May 2018 by Video8 (talk | contribs) (Created page with "== View all running containers == <syntaxhighlight lang="bash"> $ docker ps </syntaxhighlight> == Managing images == List all images: <ref>[https://www.digitalocean.com/com...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

View all running containers

$ docker ps

Managing images

List all images: [1]

$ docker images

Viewing files in a container

$ docker exec -t -i mycontainer /bin/bash

Exit the connection and return to the regular local filesystem command prompt with exit.

See also