-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker_image doesn't not support Docker BuildKit #514
Comments
This is not a bug in Ansible. The module simply sends the build request to the Docker daemon (via the Docker SDK for Python), and the daemon is returning this error. |
If docker-py ever supports this (see docker/docker-py#2230), we can add support for it as well. Anyway, this is a feature request, not a bug report. !component =plugins/modules/cloud/docker/docker_image.py |
close as docker-py not support |
spantaleev
added a commit
to spantaleev/matrix-docker-ansible-deploy
that referenced
this issue
Jan 26, 2022
Synapse v1.51.0 requires to be built with BuildKit since matrix-org/synapse#11691 The `docker_image` Ansible module does not support BuildKit (ansible-collections/community.general#514), so we had to switch to a `docker build` call.
HarHarLinks
pushed a commit
to HarHarLinks/matrix-docker-ansible-deploy
that referenced
this issue
Feb 16, 2022
Synapse v1.51.0 requires to be built with BuildKit since matrix-org/synapse#11691 The `docker_image` Ansible module does not support BuildKit (ansible-collections/community.general#514), so we had to switch to a `docker build` call.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
docker_image doesn't not support Docker BuildKit
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
target OS versions: CentOS Linux release 7.8.2003 (Core)
Docer version: 19.03.9
STEPS TO REPRODUCE
With Below content Dockerfile:
Then build image with docker_image
ansible-playbook buikd.yml
EXPECTED RESULTS
the test image will be build
ACTUAL RESULTS
not recognize the mount option when build with ansible while I can build success by running docker build command directly
The text was updated successfully, but these errors were encountered: