Sign inSign up

frozenfoxx/p4d

By frozenfoxx

Updated 6 months ago

A Docker container for running Perforce P4 Server

Image
Developer tools
Content management system
Databases & storage
1

4.3K

frozenfoxx/p4d repository overview

p4d

Build

A Docker container for running a Perforce P4 server.

Source: https://github.com/frozenfoxx/docker-p4d

How to Build

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 .

How to Use this Image

Quickstart

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)

Tag summary

Content type

Image

Digest

sha256:ad1e8b7a3

Size

65.2 MB

Last updated

6 months ago

docker pull frozenfoxx/p4d