-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container doesn't start #245
Comments
Thank you for opening this issue @bensteinberg, I'll try to fix it asap. |
This seems to be an error related with Docker Desktop for Mac and how Docker manage permissions. Try this services:
master:
container_name: salt_master
image: ghcr.io/cdalvaro/docker-salt-master:latest
restart: unless-stopped
volumes:
- ./roots:/home/salt/data/srv
- keys:/home/salt/data/keys
- logs:/home/salt/data/logs
ports:
- "4505:4505"
- "4506:4506"
### salt-api port
# - "8000:8000"
healthcheck:
test: ["CMD", "/usr/local/sbin/healthcheck"]
start_period: 30s
environment:
DEBUG: false
TZ: Europe/Madrid
PUID: 1000
PGID: 1000
SALT_LOG_LEVEL: info
### salt-api settings
# SALT_API_ENABLED: 'True'
# SALT_API_USER: salt_api
# SALT_API_USER_PASS: 4wesome-Pass0rd
### salt-minion settings
# SALT_MINION_ENABLED: 'True'
# SALT_MINION_ID: builtin.minion
volumes:
keys:
name: salt-master-keys
logs:
name: salt-master-logs If you need to get access to Or, if you want to backup the keys volume, you can use the Volumes Backup & Share extension. Also, you can try loomchild /volume-backup Docker image to create a docker run -v salt-master-keys:/volume --rm --log-driver none \
loomchild/volume-backup backup > salt-master-keys-backup.tar.bz2 |
Thanks, @cdalvaro! I'll try it out. I'm hoping to store/manage the keys on the host. I'll let you know how it goes. |
Great! Thank you for your help! |
Hi @bensteinberg! I've made some changes to the permissions management that fix your issue. Could you try this image before I merge #248?
|
Sorry for the delay -- thanks for doing this. I'll check it out. |
Describe the bug
The
salt_master
container doesn't start, because of a permissions error:To Reproduce
Steps to reproduce the behavior:
On an M1 Mac, I ran
Expected behavior
I expected the
salt_master
container to be running.Additional info
Version report (please complete the following information):
3007.1
Additional context
This is the same as #226, I think. Let me know if I should have put this report in that issue.
I've experimented with changing
PUID
andPGID
to my local uid and gid, but there's no difference.The text was updated successfully, but these errors were encountered: