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

Container dies after: "adduser: user 'ftp_user' in use" #38

Open
dominik-stypula-polcode opened this issue May 9, 2022 · 2 comments
Open

Comments

@dominik-stypula-polcode
Copy link

dominik-stypula-polcode commented May 9, 2022

I'm using it in docker-compose.yml as follows:

    ftp:
        image: 'delfer/alpine-ftp-server'
        volumes:
            - ./ftp_dir:/home/ftp_user/dir
        ports:
            - '21:21'
            - '21000-21010:21000-21010'
        environment:
            - USERS=ftp_user|ftp_user|/home/ftp_user/dir
            - ADDRESS=localhost

After first run docker-compose up it's OK, but the second run always complains about user already existing, and container dies.
This should check if the user ftp_user already exists if container is not destroyed.

ftp_1: adduser: user 'ftp_user' in use
.....
project_ftp_1 exited with code 0
@himgodfreyho
Copy link

I have the same problem, I received the similar error: process has died, quitting.
The only way now is to docker-compose down to delete the container and up it again.

@delfer
Copy link
Owner

delfer commented Oct 30, 2023

@dominik-stypula-polcode @himgodfreyho does this happens only with ftp_user? Can you try any other user name? Can you try latest image?

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

3 participants