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

Composer won't start again when COMPOSER_CONTAINER_RUN_AS_HOST_USER #47

Open
nbonnotte opened this issue Apr 18, 2024 · 0 comments · May be fixed by #49
Open

Composer won't start again when COMPOSER_CONTAINER_RUN_AS_HOST_USER #47

nbonnotte opened this issue Apr 18, 2024 · 0 comments · May be fixed by #49

Comments

@nbonnotte
Copy link

I'm using the latest version (eacc17c).

The first time Composer starts, everything is working fine. But if I stop it, and start it again, it doesn't work any more. Here are the final logs the container gives:

$ docker container logs composer-local-dev-my-composer 
...
+ run_airflow_as_host_user
+ create_user nicolas 1000
+ local user_name=nicolas
+ local user_id=1000
+ local old_user_name
+ whoami
+ old_user_name=airflow
+ local old_user_id
+ id -u
+ old_user_id=999
+ echo Adding user nicolas(1000)
+ sudo useradd -m -r -g airflow -G airflow --home-dir /home/airflow -u 1000 -o nicolas
Adding user nicolas(1000)
useradd: user 'nicolas' already exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant