-
Notifications
You must be signed in to change notification settings - Fork 22
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
Can't create an user #23
Comments
here is entire log |
From the logs the problem seems to be that the containers are being created with a SHA postfix (hutomaoss_api-db_1_a0f7e084b454) instead of just the service name (hutomaoss_api-db_1). |
If you're running docker-compose version 1.23.0 or 1.23.1 you will see this behaviour, which has been fixed from version 1.23.2 on:
(from https://github.com/docker/compose/releases/tag/1.23.2) Please update docker-compose to at least 1.23.2, or ideally to the latest version (1.24.1). |
Hi docker --version [root@platform]# docker-compose --version |
Hi, |
Hi
I give you the logs tomorrow
On Wednesday, October 23, 2019, 1:59:18 PM GMT+3, Pedro Teixeira <[email protected]> wrote:
Hi,
I'm not able to reproduce this behaviour with the latest version of docker-compose (1.24.1), as the service name comes up as expected thus allowing the script to run. You can either update docker-compose to the latest version (recommended) otherwise you can launch the system, run docker ps and check the service name (should be hutomaoss_api-db_1_), then change the create_test_user.sh script, where it reads DB_IMAGE='hutomaoss_api-db_1' to DB_IMAGE='hutomaoss_api-db_<HASH>' (note the should be replaced by whichever value you have). Since you only need to run the script once to create the user, there's no need to further change the script later.
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi |
when run ./create_test_user.sh
received that
./create_test_user.sh
Error: No such container: hutomaoss_api-db_1
Error: No such container: hutomaoss_api-db_1
Error: No such container: hutomaoss_api-db_1
Error: No such container: hutomaoss_api-db_1
with
./launch.sh
The text was updated successfully, but these errors were encountered: