13.0

Table Of Contents
vctl Commands to Manage the Image Resource
Command Description
vctl build [OPTIONS] PATH Builds a container image using a Dockerfile.
Note If the RUN instructions in the
Dockerfile run network-related commands, add
ENV instruction into the Dockerfile to set
network proxy, for example: ENV https_proxy
<Proxy_Server>:Proxy_Port for the network
operations to succeed.
vctl images [OPTIONS] [IMAGE...] Lists container images and displays basic
information about the container images.
vctl push [OPTIONS] IMAGE [REMOTE_URL] Pushes the container image to the registry.
vctl rmi [OPTIONS] ([IMAGE...]|--all) Deletes one or more container images.
vctl tag [OPTIONS] SOURCE_IMAGE TARGET_IMAGE [TARGET_IMAGE...] Tags container images. It creates an image alias
with the TARGET_IMAGE.
vctl pull [OPTIONS] IMAGE Pulls a container image from the registry.
vctl Commands to Manage the Container Resource
Command
Description
vctl create [OPTIONS] IMAGE [COMMAND] [ARGUMENTS...] Creates a new container from a container image.
Note Ensure the following when you use the --volume
option:
n Specify paths to the folder. The --volume doesn't
support path to files.
n Use absolute path. Relative paths are not supported.
n Only anonymous volumes can be mounted, mounting
named volumes is not supported.
Note Ensure the following when you use the --publish
option:
n The vctl utility doesn't have a subnet or a link feature to
connect multiple containers to a subnet.
To enable communication between multiple containers,
start the container with the --publish option. This binds
the container port to the host port so that the service
provided by the container is accessible from the outside.
vctl describe [OPTIONS] CONTAINER Displays details about the container.
vctl exec [OPTIONS] CONTAINER COMMAND [ARGUMENTS...] Runs a command inside a running container.
vctl ps [OPTIONS][CONTAINER...] Lists the containers and displays basic information about the
container.
vctl rm [OPTIONS] ([CONTAINER...]|--all) Deletes one or more containers.
Using VMware Fusion
VMware, Inc. 185