Supported Docker Commands

vSphere Integrated Containers Engine 1.1 supports Docker 1.13. The supported version of the Docker API is 1.25.

Docker Management Commands

Command Docker Reference Supported
dockerd Launch the Docker daemon Not applicable. This construct does not exist in vSphere Integrated Containers
info Docker system information Yes, since 1.0. Provides Docker-specific data, basic capacity information, lists configured volume stores, and virtual container host information. Does not reveal vSphere datastore paths that might contain sensitive vSphere information.
inspect Inspect a container or image Yes, since 1.0. Includes information about the container network.
version Docker version information Yes, since 1.0

Image Commands

Command Docker Reference Supported
build Build an image from a Dockerfile No
commit Create a new image from a container’s changes No
history Show the history of an image No
images Images Yes, since 1.0. Supports --filter, --no-trunc, and --quiet
import Import the contents from a tarball to create a filesystem image No
load Load an image from a tar archive or STDIN No
rmi Remove a Docker image Yes, since 1.0
save Save images No
tag Tag an image into a repository Yes, since 1.0

Container Commands

Command Docker Reference Supported
attach Attach to a container Yes, since 1.0
container list List Containers Yes, since 1.0
container resize Resize a container Yes, since 1.0
cp Copy files or folders between a container and the local filesystem No
create Create a container Yes, since 1.0.
--cpuset-cpus in Docker specifies CPUs the container is allowed to use during execution (0-3, 0,1). In vSphere Integrated Containers Engine, this parameter specifies the number of virtual CPUs to allocate to the container VM. Minimum CPU count is 1, maximum is unlimited. Default is 2.
--ip allows you to set a static IP on the container. By default, the virtual container host manages the container IP.
Minimum value for --memory is 512MB, maximum unlimited. If unspecified, the default is 2GB. Supports the --attach, --cpuset-cpus,--env, --ip, --memory, --interactive, --link, --label, --network, --tty, and --volume options.
diff Inspect changes on a container's filesystem No
events Get real time events from the server Yes, since 1.0. Supports passive Docker events for containers and images. Does not yet support events for volumes or networks.
exec Run a command in a running container No
export Export a container No
kill Kill a running container Yes, since 1.0. Docker must wait for the container to shut down.
logs Get container logs Yes, since 1.0. Does not support docker logs --timestamps (-t) and --since options.
pause Pause processes in a container No
port Obtain port data Yes, since 1.0. Displays port mapping data.
Supports mapping a random host port to the container when the host port is not specified.
ps Show running containers Yes, since 1.0. Supports the -a/--all, -f/--filter, --no-trunc, and -q/--quiet options. Filtering by network name is supported, but filtering by network ID is not supported.
rename Rename a container Yes, since 1.1. Name resolution for renamed running containers is not supported, but if you restart the container the new name is resolved.
restart Restart a container Yes, since 1.0
rm Remove a container Yes, since 1.0. Removes associated anonymous and regular volumes. Supports the --force option and the name parameter. Does not support docker rm -v. To view volumes attached to a container that is removed, use docker volume ls and docker volume inspect <id>. If you continually invoke docker create to make more anonymous volumes, those volumes are left behind after each subsequent removal of that container.
run Run a command in a new container Yes, since 1.0. Supports container search by using prettyname-ID with docker run --name. Supports the --detach, --detach-keys, and --dns options.
Supports mapping a random host port to the container when the host port is not specified.
Supports running images from private and custom registries.
docker run --net=host is not supported. You can specify a container network by using the --container-network option when you deploy a virtual container host.
start Start a container Yes, since 1.0
stats Get container stats based on resource usage Yes, since 1.1. Provides statistics about CPU and memory usage. Does not yet provide statistics about network or disk usage.
stop Stop a container Yes, since 1.0. Attempts to politely stop the container. If that fails, powers down the VM.
top Display the running processes of a container No
unpause Unpause processes within a container No
update Update a container No
wait Wait for a container Yes, since 1.0

Hub and Registry Commands

Command Docker Reference Supported
login Log into a registry Yes, since 1.0
logout Log out from a registry Yes, since 1.0
pull Pull an image or repository from a registry Yes, since 1.0. Supports pulling from secure or insecure public and private registries.
push Push an image or a repository to a registry No
search Search the Docker hub for images No

Network and Connectivity Commands

For more information about network operations with vSphere Integrated Containers Engine, see Container Networking with vSphere Integrated Containers Engine.

Command Docker Reference Supported
network connect Connect to a network Yes, since 1.0. Not supported for running containers.
network create Create a network Yes, since 1.1. See the use case to connect a container to an external network in Container Networking with vSphere Integrated Containers Engine. Bridge is also supported.
network disconnect Disconnect a network No
network inspect Inspect a network Yes, since 1.0
network ls List networks/ Yes, since 1.0
network rm Remove a network Yes, since 1.0. Network name and network ID are supported.

Shared Data Volume Commands

For more information about volume operations with vSphere Integrated Containers Engine, see Using Volumes with vSphere Integrated Containers Engine.

Command Docker Reference Supported
volume create Create a volume Yes, since 1.0
volume inspect Information about a volume Yes, since 1.0
volume ls List volumes Yes, since 1.0
volume rm Remove or delete a volume Yes, since 1.0

Docker Compose Commands

vSphere Integrated Containers Engine 1.1 supports Docker Compose version 1.9.0.

For more information about using Docker Compose with vSphere Integrated Containers Engine, see Creating a Containerized Application with vSphere Integrated Containers Engine.

For information about Docker Compose file support, see Supported Docker Compose File Options.

Command Docker Reference Supported
build Build or rebuild service No. Depends on docker build.
bundle Generate a Distributed Application Bundle (DAB) from the Compose file Yes, since 1.1
config Validate and view the compose file Yes, since 1.0
create Create services Yes, since 1.0
down Stop and remove containers, networks, images, and volumes Yes, since 1.0
events Receive real time events from containers Yes, since 1.0. Supports passive Docker events for containers and images. Does not yet support events for volumes or networks.
exec Run commands in services No. Depends on docker exec.
help Get help on a command Yes, since 1.0
kill Kill containers No, but docker kill works.
logs View output from containers Yes, since 1.0
pause Pause services No. Depends on docker pause.
port Print the public port for a port binding Yes, since 1.0
ps List containers Yes, since 1.0
pull Pulls service images Yes, since 1.0
push Pushes images for service No. Depends on docker push
restart Restart services Yes, since 1.0
rm Remove stopped containers Yes, since 1.0
run Run a one-off command Yes, since 1.0
scale Set number of containers for a service Yes, since 1.0
start Start services Yes, since 1.0
stop Stop services Yes, since 1.0
unpause Unpause services No. Depends on docker unpause.
up Create and start containers Yes, since 1.1
version Show Docker Compose version information Yes, since 1.0

Swarm Commands

This version of vSphere Integrated Containers Engine does not support Docker Swarm.

results matching ""

    No results matching ""