Skip to content
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

Error after restarting Docker container #23

Closed
ngosang opened this issue Dec 4, 2021 · 0 comments
Closed

Error after restarting Docker container #23

ngosang opened this issue Dec 4, 2021 · 0 comments

Comments

@ngosang
Copy link
Contributor

ngosang commented Dec 4, 2021

image: elswork/samba:3.2.8
command: '-u 1001:1001:fake_user:fake_group:fake_password'
restart: unless-stopped

The first time I run the Docker container it works fine. If I restart the container, it keeps restarting forever with an error. The only fix is to remove the container and start again. That mean I can not restart my server because samba stops working.

First start:

Add user 'fake_user' with password 'fake_password' Added user fake_user.,
DONE,
smbd version 4.14.5 started.,
Copyright Andrew Tridgell and the Samba Team 1992-2021,
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections,

After manual restart or system reboot:

addgroup: group 'fake_group' in use,
Add user 'fake_user' $addgroup: group 'fake_group' in use,
Add user 'fake_user' $addgroup: group 'fake_group' in use,
Add user 'fake_user' $addgroup: group 'fake_group' in use,
ngosang added a commit to ngosang/samba that referenced this issue Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant