Minimalistic setup for Perforce Helix Core Server running under Ubuntu.
To start it simply type:
docker run -d --name=PerforceServer roestzwiee/perforceserver -e P4PASSWD="changeme123"
Container can be stopped and restarted without any effect. Maintenance can be done attached.
Possible environment variables (all optional):
P4ROOT="/opt/perforce/servers/master"
P4PORT=1666
P4USER="admin"
P4PASSWD="changeme123"
Next steps, see if a named volume can be used to have persistence available even on a new installation.
When use make sure you meet the perforce licence requirements.