Ubuntu
Source: Portainer stack 6 (ubuntu) on endpoint 2.
version: '3.3'
services:
ubuntu:
ports:
- '6904:6901' #change 6901 as necessary. eg. '6901:6901', '6902:6901', '6903:6901'
environment:
- VNC_PW=password #change as desired
shm_size: '1gb' #change per your needs. eg. '512m', '1gb', '2gb'
image: 'kasmweb/core-ubuntu-focal:1.14.0' #change the image to your desired image
restart: always