A Docker container for running Perforce P4 Server
4.3K
A Docker container for running a Perforce P4 server.
Source: https://github.com/frozenfoxx/docker-p4d
To build the default image input the following:
git clone https://github.com/frozenfoxx/docker-p4d.git
cd docker-p4d
docker build -t frozenfoxx/p4d:latest .
The following will run the latest P4 server with a default configuration:
docker run -it \
--rm \
-p 1666:1666 \
-v /server/mount/depots:/opt/perforce/depots:rw \
-v /server/mount/server:/opt/perforce/server:rw \
--name=p4d \
frozenfoxx/p4d:latest
If this is a fresh server, you'll want to create a superuser immediately:
docker exec -it p4d /bin/bash
export P4PORT=localhost:1666
p4 user (fill in details for root)
p4 protect (this will make you the superuser if you are the first to connect)
p4 passwd (set root password)
Content type
Image
Digest
sha256:ad1e8b7a3…
Size
65.2 MB
Last updated
6 months ago
docker pull frozenfoxx/p4d