Troubleshooting
Runs Fine on a Mac but Fails in docker on the Same Machine
If you get an error like +++ killed by SIGKILL +++
, your program may be running out of memory.
Check your docker configuration for a default memory limit.
Here is a related thread on StackOverflow.
How can I validate permission with a role? I get no basic auth credentials
or Error: http: 401 Unauthorized
with CLI or docker commands
Check the environment var is correctly defined (don’t do that in Drone/CI to not log the secret in log):
Check you are correctly logged in with the good role ID:
Validate your role has the right permissions.
Docker pull/push returns unauthorized: authentication required
First, you need to be sure you are logged in by calling eai login validate
.
If you are not, call eai login
.
Then, call eai docker configure
and make sure to create the symlink for docker-credential-eai
in your path, as shown in the output.
To see if the docker credentials are properly set up, run the following command, it should return a JSON payload.
If it doesn’t, the symlink created above is probably not in your PATH
.
docker-credential-eai get