11.0

Table Of Contents
Using the vctl Utility
The vctl utility is included with VMware Fusion and is ready to run in a terminal window.
Prerequisites
Before using vctl to run any operation on a container image or container, the container runtime must be
started first. The container runtime doesn't start automatically when VMware Fusion application launches,
and does not stop automatically when VMware Fusion application quits. You must manually run the vctl
system start command to start it and run vctl system stop command to stop it.
Procedure
1 On your Mac, open a terminal window.
2 Run the vctl system info command to check the status of the container runtime.
If the command output displays Container runtime is stopped, run vctl system start command
to start the container runtime.
If the command output shows Container runtime is running, you can start using vctl to manage
containers and container images.
Note Administrator privileges are needed to start the container runtime on macOS.
3 Run the vctl command to list the command-line options.
Running vctl Commands
The vctl commands have syntax and other requirements that you must follow.
Disabling the Prompt for Administrator Password
You can configure a sudo command to bypass the administrator password prompt when the vctl utility is
running.
The vctl utility prepares the container network when the vctl system start command is run and also
sets up port forwarding when a container is started with the --publish option. These network operations
run in the background with sudo and therefore you are prompted to input the administrator password.
If this prompt is a blocker when you use the vctl utility to automate container management, you can
configure a sudo command to run without prompting for the password.
Procedure
1 Edit the /etc/sudoers file by typing the visudo command in the terminal window.
sudo visudo
2 Enter your password when prompted.
Using VMware Fusion
VMware, Inc. 177