exasol / notebook-connector

Connection configuration management and additional tools for Jupyter notebooks.
MIT License
0 stars 0 forks source link

Add removal of the current container from docker network of the ITDE #78

Closed tkilias closed 5 months ago

tkilias commented 5 months ago

in https://github.com/exasol/ai-lab/pull/148, we get following error in the test run https://github.com/exasol/ai-lab/actions/runs/7708283469/job/21007036352

docker.errors.APIError: 403 Client Error for http+docker://localhost/v1.43/networks/14baa6d0522fa1cb8012e24aa750f2c41e2945e4481d2e9ef03e83e4fed83cd2: Forbidden ("error while removing network: network db_network_DemoDb id 14baa6d0522fa1cb8012e24aa750f2c41e2945e4481d2e9ef03e83e4fed83cd2 has active endpoints")

This means the AI Lab docker container is still connected to the docker network of the ITDE and with that the network can't be removed.

We need to disconnct the container during take_down and before we spawn a new environment in bring_it_up