-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Handle empty or invalid $HOME/.docker/config.json gracefully #4847
Copy link
Copy link
Closed
Description
Apparently testcontainers requires $HOME/.docker/config.json to be a valid JSON file.
touch ~/.docker/config.json
// lauch some test containers tests will now fail
echo '{}' > ~/.docker/config.json
// lauch some test containers tests will now succeeds
rm ~/.docker/config.json
// lauch some test containers tests will now succeeds
The problem is that I have little control on the content of this file as provided on the ASF CI environments. I would like testcontainers to ignore it as missing when its content is missing...
Reactions are currently unavailable