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.


  1. Edit the /etc/sudoers file by typing the visudo command in the terminal window.
    sudo visudo
  2. Enter your password when prompted.
  3. Append the following entry so you can run all commands without a password.
    <Your_Account_Name> ALL = (ALL) NOPASSWD: ALL
  4. Save and exit.