<@U04S8PLJWMT> My airbyte OSS is hosted on docker ...
# ask-ai
a
@kapa.ai My airbyte OSS is hosted on docker compose(on ec2 linux). I got this output: [ec2-user@ip-10-103-3-23 airbyte]$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e5fe127587ad airbyte/worker:0.57.2 "/bin/bash -c airbyt…" 7 hours ago Up 7 hours 5005/tcp, 0.0.0.0:32776->9000/tcp, :::32776->9000/tcp airbyte-worker c079db9d6966 airbyte/db:0.57.2 "docker-entrypoint.s…" 8 hours ago Up 7 hours 5432/tcp airbyte-db 9183b98683c9 airbyte/temporal:0.57.2 "./update-and-start-…" 8 hours ago Up 7 hours 6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp airbyte-temporal fc246d82a2d9 alpine/socat "socat -d -d -t 900 …" 8 hours ago Up 7 hours 0.0.0.0:32772->2375/tcp, :::32772->2375/tcp ec2-user-docker-proxy-1 010eb31a5d9c airbyte/proxy:0.62.0 "./run.sh ./run.sh" 9 hours ago Up 8 hours 0.0.0.0:8000-8001->8000-8001/tcp, :::8000-8001->8000-8001/tcp, 0.0.0.0:8003->8003/tcp, :::8003->8003/tcp, 80/tcp, 0.0.0.0:8006->8006/tcp, :::8006->8006/tcp airbyte-proxy-old 6b7983bd398d airbyte/worker:0.62.0 "/bin/bash -c airbyt…" 9 hours ago Up 8 hours 5005/tcp, 0.0.0.0:32769->9000/tcp, :::32769->9000/tcp airbyte-worker-old 9a2377426860 airbyte/server:0.62.0 "/bin/bash -c airbyt…" 9 hours ago Up 8 hours 5005/tcp, 8000/tcp, 0.0.0.0:32768->8001/tcp, :::32768->8001/tcp airbyte-server-old 6705606b6dae airbyte/cron:0.62.0 "/bin/bash -c airbyt…" 9 hours ago Up 8 hours airbyte-cron-old 832ff56fdd9c airbyte/connector-builder-server:0.62.0 "/bin/bash -c airbyt…" 9 hours ago Up 8 hours 0.0.0.0:32771->8080/tcp, :::32771->8080/tcp airbyte-connector-builder-server-old 78a527bb9541 airbyte/webapp:0.62.0 "/docker-entrypoint.…" 9 hours ago Up 8 hours 8080/tcp airbyte-webapp-old 1ddd082efefe airbyte/airbyte-api-server:0.62.0 "/bin/bash -c airbyt…" 9 hours ago Up 8 hours 5005/tcp, 0.0.0.0:32770->8006/tcp, :::32770->8006/tcp airbyte-api-server-old 363d2616aaea airbyte/db:0.62.0 "docker-entrypoint.s…" 9 hours ago Up 8 hours 5432/tcp airbyte-db-old-09172025 0303e033eab1 airbyte/temporal:0.62.0 "./update-and-start-…" 9 hours ago Up 8 hours 6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp airbyte-temporal-old ed2e23846158 alpine/socat "socat -t 900 TCP-LI…" 9 hours ago Up 7 hours 0.0.0.0:32777->2375/tcp, :::32777->2375/tcp airbyte-docker-proxy-1 Then I did docker stop airbyte-worker airbyte-db airbyte-temporal ec2-user-docker-proxy-1 and after this airbyte localhold 8000 did not open. then I did docker compose down and if doing docker compose up -d it is giving repsonsesd like Error response from daemon: Conflict. The container name "/airbyte-worker" is already in use by container "e5fe127587adde2be151e34e1a87abad0455b3c89ccafa72bc2ad4f0c7191080". You have to remove (or rename) that container to be able to reuse that name. for different containers each time. Help me
k
Your issue is caused by stopped containers that still exist with the same names, so when you try to run docker compose up, Docker cannot create new containers with those names until the old ones are removed. To resolve this: 1. Remove the stopped containers Run:
Copy code
bash    docker rm airbyte-worker airbyte-db airbyte-temporal ec2-user-docker-proxy-1
If you have more containers with similar issues, list all stopped containers with:
Copy code
bash    docker ps -a
and remove any that are not running but have conflicting names. 2. Run docker compose up again After removing the conflicting containers, you can start Airbyte again:
Copy code
bash    docker compose up -d
Note: -
docker stop
only stops containers, it does not remove them. -
docker compose down
stops and removes containers created by the compose file, but if you stopped containers manually or have containers from previous runs (with different versions or names), they may not be removed automatically, leading to name conflicts. Best Practice: - Always use
docker compose down
to stop and clean up Airbyte containers, especially before upgrading or restarting, to avoid orphaned containers and name conflicts. - If you encounter errors about container names already in use, remove the stopped containers as shown above. This approach is consistent with the advice in the Airbyte community and documentation, which clarifies that
docker compose down
should not remove volumes or images by default, only containers, unless you use additional flags. If you still have issues, check for orphan containers and remove them as needed[Docker compose / up and down](https://discuss.airbyte.io/t/3836)[Airbyte upgrade version on GCP fails](https://discuss.airbyte.io/t/2366). Important: Docker Compose is now deprecated for Airbyte OSS. For future upgrades or deployments, consider migrating to
abctl
as recommended in the latest documentation: [OSS Quickstart](https://docs.airbyte.com/using-airbyte/getting-started/oss-quickstart).
a
@kapa.ai currently my ourput is this : [ec2-user@ip-10-103-3-23 airbyte]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e2a8b63382eb airbyte/server:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Exited (143) About a minute ago airbyte-server 87b17787eb7b airbyte/webapp:0.62.0 "/docker-entrypoint.…" 52 minutes ago Exited (0) About a minute ago airbyte-webapp edfa8cb4300a airbyte/airbyte-api-server:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Exited (143) About a minute ago airbyte-api-server a9b4ec3de00f airbyte/connector-builder-server:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Exited (143) About a minute ago airbyte-connector-builder-server 0a25b23af35a airbyte/cron:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Created airbyte-cron da88438430c9 airbyte/bootloader:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Created airbyte-bootloader e15f2de45651 airbyte/db:0.62.0 "docker-entrypoint.s…" 52 minutes ago Created airbyte-db 83323bf6492b airbyte/temporal:0.62.0 "./update-and-start-…" 52 minutes ago Created airbyte-temporal d66b4958f48b airbyte/init:0.62.0 "/bin/sh -c './scrip…" 52 minutes ago Created init 5f3411a913cc alpine/socat "socat -t 900 TCP-LI…" 52 minutes ago Created airbyte-docker-proxy-1 da579a03183f airbyte/proxy:0.57.2 "./run.sh ./run.sh" 9 hours ago Created airbyte-proxy e5fe127587ad airbyte/worker:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Exited (143) About a minute ago airbyte-worker 6a7f08e28172 airbyte/webapp:0.57.2 "/docker-entrypoint.…" 9 hours ago Created airbyte-webapp-old d0d7debaf9e5 airbyte/connector-builder-server:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-connector-builder-server-old 585d0e124ca0 airbyte/airbyte-api-server:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-api-server-old caaf61939735 airbyte/server:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-servr-old 26c8f3f9d442 airbyte/cron:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-cron-old c079db9d6966 airbyte/db:0.57.2 "docker-entrypoint.s…" 9 hours ago Exited (1) About an hour ago airbyte-db-old 1b0e220c3608 airbyte/bootloader:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Exited (255) 8 hours ago airbyte-bootloader-old 9183b98683c9 airbyte/temporal:0.57.2 "./update-and-start-…" 9 hours ago Up About an hour 6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp airbyte-temporal_backup d1b16cb83c33 airbyte/init:0.57.2 "/bin/sh -c './scrip…" 9 hours ago Exited (0) 8 hours ago init_backup fc246d82a2d9 alpine/socat "socat -d -d -t 900 …" 9 hours ago Up About an hour 0.0.0.0:32781->2375/tcp, :::32781->2375/tcp ec2-user-docker-proxy-1 if I remove containers Is there a chance of setup loss or data loss of airbyte?