Hi, I am messing around with Electric Eel to test if my long wish was going to be possible… Installing Pterodactyl wings (GitHub - pterodactyl/wings: The server control plane for Pterodactyl Panel. Written from the ground-up with security, speed, and stability in mind.).
Pterodactyl creates a nice portal / panel where you can create and manage game servers (using docker).
The panel creates docker containers for the game servers under the hood, now I tried to install it and got really far, but once I created a server it made an error.
The error is as follows: “invalid mount config for type “bind”: bind source path does not exist”
I guess that the version of docker Truenas is using doesn’t allow other dockers to create dockers if that makes sense?
Can anyone think of a way to do this?
Here is the “docker compose” I was deploying.
services:
wings:
image: Package wings · GitHub
container_name: pterodactyl-wings
restart: always
logging:
driver: “json-file”
options:
max-size: “10m”
max-file: “3”
networks:
- wings
ports:
- 2022:2022
- 3443:443 #Web address port
#- $PORT_UNKNOWN:8080
tty: true
environment:
TZ: Europe/Amsterdam
WINGS_UID: 0
WINGS_GID: 0
WINGS_USERNAME: pterodactyl
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/containers/:/var/lib/docker/containers/
- /mnt/ssd-tank/docker-files/pterodactyl/wings/config:/etc/pterodactyl/ #config file from Panel
- /mnt/ssd-tank/docker-files/pterodactyl/wings/data:/var/lib/pterodactyl/ #game server files
- /mnt/ssd-tank/docker-files/pterodactyl/wings/logs:/var/log/pterodactyl/ #Allows Crowdsec to read logs
- /mnt/ssd-tank/docker-files/pterodactyl/wings/tmp:/tmp/pterodactyl/
- /mnt/ssd-tank/docker-files/pterodactyl/wings/daemon-data:/srv/daemon-data/
- /mnt/ssd-tank/docker-files/pterodactyl/wings/logs/laravel:/app/storage/logs/ #Laravel log files
db:
image: mariadb:latest
container_name: pterodactyl-db
restart: always
command: --default-authentication-plugin=mysql_native_password
ports:
- 33306:3306
networks:
- wings
volumes:
- /mnt/ssd-tank/docker-files/pterodactyl/wings/db:/var/lib/mysql
environment:
- MYSQL_DATABASE=“servers”
- MYSQL_USER=“pterodactyl”
- MYSQL_PASSWORD=passwordexample
- MYSQL_ROOT_PASSWORD=passwordexample
healthcheck:
test: [“CMD”, “mariadb-admin”, “ping”, “-proot”, “–password=passwordexample”]
interval: 30s
timeout: 10s
retries: 5
labels:
- “autoheal=true”
logging:
driver: “json-file”
options:
max-size: “10m”
max-file: “3”
networks:
wings:
name: wings
driver: bridge
driver_opts:
com.docker.network.bridge.name: wings
pterodactyl_nw:
driver: bridge
I have been googling around, but only found people telling me to reinstall docker…