- Build
docker build -t pocketbase-image .
- Run
docker run -p 8080:8080 -v ${PWD}/pb_data:/pb/pb_data pocketbase-image
- Start container:
docker-compose up
- Start container (background mode):
docker-compose up -d
- Stop container:
docker-compose down
- Build:
docker-compose build --no-cache
- Start:
docker-compose up
- Stop:
docker-compose down