Items starting with DEPRECATE
are important deprecation notices. For more information on the list of deprecated flags and APIs please have a look at https://docs.docker.com/misc/deprecated/ where target removal dates can also be found.
docker ps --filter before=...
to not show stopped containers without providing -a
flag #20135userland-proxy=false
#20181IMPORTANT: Docker 1.10 uses a new content-addressable storage for images and layers. A migration is performed the first time docker is run, and can take a significant amount of time depending on the number of images present. Refer to this page on the wiki for more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration We also released a cool migration utility that enables you to perform the migration before updating to reduce downtime. Engine 1.10 migrator can be found on Docker Hub: https://hub.docker.com/r/docker/v1.10-migrator/
docker update
command that allows updating resource constraints on running containers #15078--tmpfs
flag to docker run
to create a tmpfs mount in a container #13587--format
flag to docker images
command #17692SIGHUP
signal #18587--blkio-weight-device
flag to docker run
#13959--device-read-bps
and --device-write-bps
flags to docker run
#14466--device-read-iops
and --device-write-iops
flags to docker run
#15879--oom-score-adj
flag to docker run
#16277--detach-keys
flag to attach
, run
, start
and exec
commands to override the default key sequence that detaches from a container #15666--shm-size
flag to run
, create
and build
to set the size of /dev/shm
#16168docker info
#19249OSType
and Architecture
in docker info
#17478--cgroup-parent
flag on daemon
to set cgroup parent for all containers #19062-L
flag to docker cp to follow symlinks #16613status=dead
filter for docker ps
#17908docker run
exit codes to distinguish between runtime and application errors #14012docker events --since
and --until
to support nanoseconds and timezones #17495--all
/-a
flag to stats
to include both running and stopped containers #16742cgroupfs
#17704build -t
#17115build
#15780OPTIONS
request against any url, thus fixing issue with CORS #19569--quiet
flag on docker build
to actually be quiet #17428docker images --filter dangling=false
to now show all non-dangling images #19326exec
during container restart #19722--storage-opt dm.basesize
will now increase the base device size on daemon restart #19123--userns-remap
flag to daemon
to support user namespaces (previously in experimental) #19187--security-opt
#17989--authorization-plugin
flag to daemon
to customize ACLs #15365docker load
/docker save
tarballs now also contain content-addressable image configurations. For more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration/etc/hosts
#19198--net-alias
on run
and --alias
on network connect
#19242--ip
and --ip6
on run
and network connect
to support custom IP addresses for a container in a network #19001--ipam-opt
to network create
for passing custom IPAM options #17316--internal
flag to network create
to restrict external access to and from the network #19276kv.path
option to --cluster-store-opt
#19167discovery.heartbeat
and discovery.ttl
options to --cluster-store-opt
to configure discovery TTL and heartbeat timer #18204--format
flag to network inspect
#17481--link
to network connect
to provide a container-local alias #19229--force
to network disconnect
to force container to be disconnected from network #19317--link
is now supported on docker run
for containers in user-defined network #19229docker network rm
to allow removing multiple networks #17489network inspect
#17615network inspect
#17316--filter
flag to network ls
to hide predefined networks #17782--net=host
#19573docker logs --since
and --until
to support nanoseconds and time #17495ls
and inspect
endpoints to volume plugin API #16534application/vnd.docker.plugins.v1.2+json
#19549docker volumes ls --dangling=false
to now show all non-dangling volumes #19671**
in .dockerignore
to wildcard multiple levels of directories #17090DOCKER_API_VERSION
environment-variable #15964--exec-driver
daemon flag, because it is no longer in use #17700-rm
; use --rm
instead) #17724-f
flag for docker tag #18350docker stats
performance regression (#17638)docker logs
if --log-driver=none
(#17767)z
option (#17450, #17834)docker login
on windows (#17738)docker inspect
output when not connected to daemon (#17715)docker inspect -f {{.HostConfig.Dns}} somecontainer
(#17680)--net
(#17558)host
network (#17476)--fixed-cidr
issue when gateway ip falls in ip-range and ip-range is not the first block in the network (#17853)IPv6
generation from MAC
address on default bridge
network (#17890)docker stats
now returns block IO metrics (#15005)docker stats
now details network stats per interface (#15786)ancestor=<image>
filter to docker ps --filter
flag to filter containers based on their ancestor images (#14570)label=<somelabel>
filter to docker ps --filter
to filter containers based on label (#16530)--kernel-memory
flag to docker run
(#14006)--message
flag to docker import
allowing to specify an optional message (#15711)--privileged
flag to docker exec
(#14113)--stop-signal
flag to docker run
allowing to replace the container process stopping signal (#15307)unless-stopped
restart policy (#15348)docker inspect
(#15796)RepoTags
and RepoDigests
field to /images/{name:.*}/json
(#17275)/container/ps
endpoint from the API (#15972)/exec/<name>/start
(#16250)--oom-kill-disable
is set (#16235)ro
option (#14965)rmi
performance (#16890)docker inspect
(#17284)-c
short flag variant for --cpu-shares
in docker run (#16271)docker import
to import from local files (#11907)STOPSIGNAL
Dockerfile instruction allowing to set a different stop-signal for the container process (#15307)ARG
Dockerfile instruction and a --build-arg
flag to docker build
that allows to add build-time environment variables (#15182)docker network
exits experimental and is part of standard release (#16645)--cluster-store
and --cluster-advertise
for built-in nodes discovery (#16229)--cluster-store-opt
for setting up TLS settings (#16644)--dns-opt
to the daemon (#16031)NetworkSettings
fields in API v1.21: EndpointID
, Gateway
, GlobalIPv6Address
, GlobalIPv6PrefixLen
, IPAddress
, IPPrefixLen
, IPv6Gateway
and MacAddress
. Those are now specific to the bridge
network. Use NetworkSettings.Networks
to inspect the networking settings of a container per network.volume
subcommand and API (#14242)awslogs
logging driver for Amazon CloudWatch (#15495)tag
log option to allow customizing container/image information passed to driver (e.g. show container names) (#15384)docker logs
endpoint for the journald driver (#13707)syslog-tag
, etc.) (#15384)docker search
now works with partial names (#16509)offline
to root
and tagging
to repository
(#16894)DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE
and DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE
(#16894)--disable-legacy-registry
to prevent a daemon from using a v1 registry-q
flag in docker ps
properly when there is a default format.docker ps
with --format
docker -d
with new subcommand docker daemon
docker -H
docker events
as --since/--untildocker inspect
docker import
to load from local filesdocker cp
docker inspect
docker rmi
of dangling images safe while pullingdocker kill
returns error when container is not runningdocker exec
--bridge=none
not to configure the network bridge--userland-proxy=false
flagexec
command supports the -u|--user
flag to specify the new process owner--default-gateway
and --default-gateway-v6
flagsdocker run
using --cpu-quota
docker run
using--blkio-weight
docker logs
command supports a --since
argumentdocker run --uts=host
--cgroup-parent
, --cpu-period
, --cpu-quota
, --cpuset-cpus
, --cpuset-mems
docker build --cpu-shares=100 --memory=1024m...
commit --change
to apply specified Dockerfile instructions while committing the imageimport --change
to apply specified Dockerfile instructions while importing the image--cgroup-parent
for specifying a parent cgroup to place container cgroup withinjson-file
, syslog
, or none
--ulimit
to set the ulimit on a container--default-ulimit
option on the daemon which applies to all created containers (and overwritten by --ulimit
on run)docker build
can be specified with the -f
flagFROM scratch
instruction is now interpreted as a no-base specifierdocker push
for images with a majority of already existing layersdocker stats
commandrename
endpoint and the associated docker rename
commandinspect
endpoint show the ID of exec
commands running in this containerinspect
endpoint show the number of times Docker auto-restarted the containerevents
endpoint: ‘OOM’ (container died with out of memory), ‘exec_create’, and ‘exec_start'docker run
command can take the --pid=host
flag to use the host PID namespace, which makes it possible for example to debug host processes using containerized debugging toolsdocker run
command can take the --read-only
flag to make the container’s root filesystem mounted as readonly, which can be used in combination with volumes to force a container’s processes to only write to locations that will be persisteddocker run
using the --memory-swap
flag/etc/resolv.conf
file when restarteddocker info
), applied with new -label
daemon flagENV
in Dockerfile of the form: ENV name=value name2=value2...
docker info
now returns an ID
and Name
fielddocker cp
now supports copying from container volumesdocker tag
, so it honors --force
when overriding a tag for existing image.docker cp
when destination is the current directorydocker ps -f exited=1
--volumes-from
references a container that failed to start--insecure-registry
now accepts CIDR notation such as 10.1.0.0/16--insecure-registry
flag--insecure-registry
is specified--iptables=false
not automatically setting --ip-masq=false
$
for environment variablesonbuild
Dockerfile instructionENV
, ADD
, COPY
, WORKDIR
, EXPOSE
, VOLUME
and USER
exec
allows you to run additional processes inside existing containerscreate
gives you the ability to create a container via the CLI without executing a process--security-opts
options to allow user to customize container labels and apparmor profilesps
filterssave
--cap-add
and --cap-drop
to tweak what linux capability you want--device
to use devices in containersdocker search
on private registriesexited
filter to docker ps --filter
docker rm -f
now kills instead of stop--dns
flag.dockerignore
supportdocker commit
--tail
to docker logs
docker build
Dockerfiles
/
as source of docker run -v
docker save
docker inspect
docker commit
start
and stop
endpointsONBUILD
instruction passed to grandchildren-h
and --net=none
--privileged
docker cp
on Mac OS XCOPY
Dockerfile instruction to allow copying a local file from the context into the container without ever extracting if the file is a tar fileADD
pause
and unpause
commands to allow pausing and unpausing of containers using cgroup freezerimages
command has a -f
/--filter
option to filter the list of images--force-rm
to clean up after a failed buildlatest
tag if not specified--net
flag to allow advanced network configuration such as host networking so that containers can use the host's network interfacesdocker ps
to the documentation.docker restart
to the documentation.docker images
to the docs.--lxc-conf
is lxc only.docker load
.docker run -a
does in the docs.docker pull
.docker pull
.docker info
even when not in debug mode.docker ps
.docker rmi
.docker ps
.docker ps
.docker load
.docker version
.docker images --tree
and docker images --viz
.docker insert
.docker commit -run
.docker cp
.docker pull
.docker info
even when not in debug mode.onbuild from
and onbuild maintainer
triggers.--rm
the default for docker build
.docker ps
.docker cp
.tcp://
default to 127.0.0.1:4243
and remove the default port for tcp.--run
in docker commit
. This makes docker commit --run
work again.docker push
.docker run -it
).docker rmi
.docker run -i -t
(issue #3336).-f
flag to docker rm
to force removal of running containers.DOCKER_RAMDISK
environment variable to make Docker work when the root is on a ramdisk.docker build --rm
. This adds a missing error check to ensure failures to remove containers are detected and reporteddocker commit
. This makes docker commit store --run
in the image configurationdocker cp
stream is closed properlyImages and containers can be removed much faster
Building an image from source with docker build is now much faster
The Docker daemon starts and stops much faster
The memory footprint of many common operations has been reduced, by streaming files instead of buffering them in memory, fixing memory leaks, and fixing various suboptimal memory allocations
Several race conditions were fixed, making Docker more stable under very high concurrency load. This makes Docker more stable and less likely to crash and reduces the memory footprint of many common operations
All packaging operations are now built on the Go language’s standard tar implementation, which is bundled with Docker itself. This makes packaging more portable across host distributions, and solves several issues caused by quirks and incompatibilities between different distributions of tar
Docker can now create, remove and modify larger numbers of containers and images graciously thanks to more aggressive releasing of system resources. For example the storage driver API now allows Docker to do reference counting on mounts created by the drivers With the ongoing changes to the networking and execution subsystems of docker testing these areas have been a focus of the refactoring. By moving these subsystems into separate packages we can test, analyze, and monitor coverage and quality of these packages
Many components have been separated into smaller sub-packages, each with a dedicated test suite. As a result the code is better-tested, more readable and easier to change
The ADD instruction now supports caching, which avoids unnecessarily re-uploading the same source content again and again when it hasn’t changed
The new ONBUILD instruction adds to your image a “trigger” instruction to be executed at a later time, when the image is used as the base for another build
Docker now ships with an experimental storage driver which uses the BTRFS filesystem for copy-on-write
Docker is officially supported on Mac OS X
The Docker daemon supports systemd socket activation
-mtu
flag in several GCE zonesdocker run
lxc-checkconfig
as a way to check for some of the necessary kernel configuration-a
to our Go build flags, removing the need for recompiling the stdlib manuallydocker pull
progress bar display issuesdocker top
in pure Go to work more consistently, and even inside Docker-in-Docker (thus removing the shell injection vulnerability present in some versions of lxc-ps
)-H unix://
to work similarly to -H tcp://
by inserting the default values for missing portions-g
to work as expecteddocker images -tree
-S
option to external tar invocation for more efficient spare file handling-mtu
option to Docker daemon for configuring MTUdocker build
to exit with a non-zero exit code on errorDOCKER_HOST
environment variable to configure the client -H
flag without specifying it manually for every invocationdocker log -f
to stream logsdocker inspect
docker build
now returns the correct exit codedocker port
to display correct portdocker build
now check that the dockerfile exists client sidedocker attach
now returns the correct exit codedocker rm
with volumes(syscall.O_NOCTTY)
apt-get install curl
to Ubuntu docspostgresql_service.rst
vagrant up
is actually doingdocker login
commanddocker start
set error code upon errordocker run
set the same error code as the process starteddocker version
sh
process”ps
args to docker top
docker run -n
and docker -d -b=none
docker run
t ignore last line in Dockerfile when it doesn
t end with \nC-p C-q
Initial public release