prometheus_sitemon
prometheus_sitemon copied to clipboard
prometheus_sitemon_prometheus_1 exited with code 1
When I run docker-compose up
I see the following error and cannot access localhost:9090
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localhost/v1.22/containers/ff42eef6678605d8f86e3c7606286d47f0777df26cd02ee7425e370c4db7f70c/attach?logs=0&stdout=1&stderr=1&stream=1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "compose/cli/log_printer.py", line 233, in watch_events
File "compose/container.py", line 215, in attach_log_stream
File "compose/container.py", line 307, in attach
File "site-packages/docker/utils/decorators.py", line 19, in wrapped
File "site-packages/docker/api/container.py", line 57, in attach
File "site-packages/docker/api/client.py", line 385, in _read_from_socket
File "site-packages/docker/api/client.py", line 296, in _get_raw_response_socket
File "site-packages/docker/api/client.py", line 248, in _raise_for_status
File "site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 409 Client Error: Conflict ("b'container ff42eef6678605d8f86e3c7606286d47f0777df26cd02ee7425e370c4db7f70c is restarting, wait until the container is running'")