Docker Client Operations: Difference between revisions
Jump to navigation
Jump to search
(→import) |
(→import) |
||
Line 17: | Line 17: | ||
==import== | ==import== | ||
Create a new filesystem image from the contents of a tar file. | |||
<pre> | <pre> |
Revision as of 14:15, 19 April 2017
Internal
Commands
build
Takes a Dockerfile and produces a Docker image.
exec
docker exec -it <image-name> bash
import
Create a new filesystem image from the contents of a tar file.
gunzip < db.tar.gz | docker import - db
ps
version
docker version
Scenarios
TO RELOCATE