To run COCKPIT just use this command:

docker run —restart=always —name cockpit —volume ../mount:/host —hostname cockpit -e PW_SYSTEM=0 -e PW_IP=192.168.1.128 PW_GUID=477f0aa7-50b0-4164-8f91-df74fa688045 —publish 6001:5000 —publish 8890:8890 -t -d pintexx/cockpit

After running the app point your browser to ip:port/remote to enter your admin password and to login to the admin area.

Environment variables:

Name Description
PW_SYSTEM Has always value of 1, tells the app that it runs outside of the platform.
PW_IP The IP of the host.
PW_GUID A unique GUID per server, required for licensing and reporting.

Persistance:

—volume ./mount:/host The path where persistance shall be made.

Ports:

5000 The port, the application is running. In the sample mapped to port 6002.
8890 When administration shall work only for a local port.