when i try to see the logs for destination-postgre...
# ask-ai
m
when i try to see the logs for destination-postgres-write-3-0 i get this error Error response from daemon: configured logging driver does not support reading
k
It looks like you're encountering an issue with the logging driver configuration for your Docker container. The error message "Error response from daemon: configured logging driver does not support reading" indicates that the logging driver you are using does not support the
docker logs
command. In the provided knowledge sources, there is no direct solution to this specific error. However, based on the information available, here are some steps you can take to troubleshoot and resolve this issue: 1. Check the Logging Driver Configuration: Ensure that your Docker daemon is configured to use a logging driver that supports reading logs. The default logging driver (
json-file
) supports reading logs, but others like
none
do not. 2. Modify the Docker Run Command: If you are using a custom logging driver that does not support reading logs, you can modify your Docker run command to use a different logging driver. For example, you can use the
json-file
logging driver. Here is an example of how to modify the Docker run command:
Copy code
sh    docker run --rm --init -i -w /data/2/0 --log-driver json-file --name destination-postgres-write-3-0 --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e WORKER_CONNECTOR_IMAGE=airbyte/destination-postgres:0.3.19 -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 AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -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.50.33 -e WORKER_JOB_ID=2 --memory=4096Mi airbyte/destination-postgres:0.3.19 write --config destination_config.json --catalog destination_catalog.json
3. Review Docker Documentation: For more information on Docker logging drivers and their configurations, you can refer to the [Docker logging documentation](https://docs.docker.com/config/containers/logging/configure/). If you continue to experience issues, please provide more details about your Docker setup and the specific logging driver you are using. This will help in providing more targeted assistance. For further assistance, you can also refer to the [Airbyte documentation](https://docs.airbyte.io/) or reach out to the Airbyte community for support.