Summary
The user is facing trouble adding a connection in their environment and wants to customize the docker launch command by removing the ‘-rm’ parameter or using sudo.
Question
Hi, I’m having trouble adding a connection in my environment. Can you help me solve this problem? Is it possible to change the docker launch command to a custom one? without the “-rm” parameter or with sudo?
2024-07-16 13:56:43 platform > Checking if airbyte/source-postgres:3.4.23 exists…
2024-07-16 13:56:43 platform > airbyte/source-postgres:3.4.23 was found locally.
2024-07-16 13:56:43 platform > Creating docker container = source-postgres-check-d2b0cac8-77ed-4893-a9e6-8f1d05646ef6-0-mvxun with resources io.airbyte.config.ResourceRequirements@52d01020[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=,additionalProperties={}] and allowedHosts null
2024-07-16 13:56:43 platform > Preparing command: docker run --rm --init -i -w /data/d2b0cac8-77ed-4893-a9e6-8f1d05646ef6/0 --log-driver none --name source-postgres-check-d2b0cac8-77ed-4893-a9e6-8f1d05646ef6-0-mvxun --network host -v airbyte_workspace:/data -v oss_local_root:/local -e DEPLOYMENT_MODE=OSS -e WORKER_CONNECTOR_IMAGE=airbyte/source-postgres:3.4.23 -e AUTO_DETECT_SCHEMA=true -e LAUNCHDARKLY_KEY= -e SOCAT_KUBE_CPU_REQUEST=0.1 -e SOCAT_KUBE_CPU_LIMIT=2.0 -e FIELD_SELECTION_WORKSPACES= -e USE_STREAM_CAPABLE_STATE=true -e WORKER_ENVIRONMENT=DOCKER -e AIRBYTE_ROLE=dev -e APPLY_FIELD_SELECTION=false -e WORKER_JOB_ATTEMPT=0 -e OTEL_COLLECTOR_ENDPOINT=http://host.docker.internal:4317 -e FEATURE_FLAG_CLIENT=config -e AIRBYTE_VERSION=0.63.5 -e WORKER_JOB_ID=d2b0cac8-77ed-4893-a9e6-8f1d05646ef6 airbyte/source-postgres:3.4.23 check --config source_config.json
2024-07-16 13:56:43 platform > Reading messages from protocol version 0.2.0
2024-07-16 13:56:43 platform > unable to upgrade to tcp, received 409
2024-07-16 13:56:43 platform > Check connection job subprocess finished with exit code 1
2024-07-16 13:56:43 platform > Unexpected error while checking connection:
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.