This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Cannot create Docker images using Molecule due to _api.credentials.errors
#3934
Labels
Issue Type
Molecule and Ansible details
Docker version used is on a WSL2 with a Docker Desktop v.4.19.0 and a Docker Engine version 24.0.2.
Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used:
Desired Behavior
Getting the Docker image build by Ansible using the
molecule test
ormolecule create
commands with Docker containers up and running.Actual Behaviour
For some weird reasons, the
molecule create
ormolecule test
command failed at the Ansible task "Build an Ansible compatible image (new)" with the following error message :The error seems to happend in the following playbook file :
$INSTALLATION_MOLECULE_PATH_USING_PIP/lib/python3.10/site-packages/molecule_plugins/docker/playbooks/create.yml
The complete error even with the verbose debug
-vvvv
is the following :Other informations :
molecule.yml
Dockerfile.j2
Before upgrading the Molecule and the Ansible version it was working perfectly. Maybe there is an issue with a Python conflict packages such as
requests
anddocker
.I have no idea what's going on and why this is happening and I'll appreciate some help on the subject. :)
Kind regards,
Tom
The text was updated successfully, but these errors were encountered: