docker volume create portainer_data
NOTE: If an error is seen, log out and then log back in, and retry the command.
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Visit http://192.168.1.30:9000 in a browser.
It should show a login screen where an admin user can be setup:
NOTE: The IP address should be whatever this is set to in the Ubuntu VM.
After Logging into Portainer, select the Local option.