Use this tag for questions regarding Ansible Container project. Do **not use** this tag for Ansible module managing Docker.
Questions tagged [ansible-container]
22 questions
0
votes
1 answer
Ansible Container: docker.errors.NotFound: 404 Client Error: Not Found ("No such container: web_data")
I'm trying to share a volume between multiple Docker containers using Ansible Container and am getting the following error:
docker.errors.NotFound: 404 Client Error: Not Found ("No such
container: web_data")
My container.yml looks like:
version:…

Willem van Ketwich
- 5,666
- 7
- 49
- 57
0
votes
1 answer
Ansible-container example build failed
I'm trying to build the very default example (ansible.django-template) with Ansible container and with ansible-container build I end up with
Building Docker Engine context...
Starting Docker build of Ansible Container Conductor image (please be…

Misko
- 1,542
- 2
- 19
- 31
0
votes
1 answer
Ansible-container create Docker image with java8
I'm trying to create simple Docker image with ansible-container build command.
And I can't figure out a solution to the error I came across while doing so.
Here are most important files:
main.yml
---
- hosts: scala-akka
roles:
-…

viniolli
- 223
- 1
- 3
- 16
0
votes
1 answer
ansible-container database init scripts
Trying to use ansible-container (0.2.0) to create a DB (postgres) container and initialize a database from a pg_dump file. Does ansible-container respect the /docker-entrypoint-initdb.d/? I tried few variations with no luck so wondering if this is…

mistertee
- 655
- 1
- 5
- 14
0
votes
1 answer
ERROR: for ansible-container Container command '/usr/local/bin/builder.sh' not found or does not exist
I am getting the below error when I run
$ ansible-container build
ERROR: for ansible-container Container command '/usr/local/bin/builder.sh' not found or does not exist.
ansible/container.yml
version: "1"
services:
web:
image:…

Yogeswaran
- 357
- 1
- 13
-1
votes
2 answers
Ansible-container builds no docker image
I am struggling with ansible-container. I have an issue similar to that found in here where it was suggested that docker is not configured correctly. Basically I have a bare bones example and no container is built. I have docker install on Ubuntu…

wrdeman
- 810
- 10
- 23
-1
votes
1 answer
How to pass playbook tags to ansible-container?
I created playbooks with tags.
I want to use ansible-container to test my playbooks.
According to the Ansible documentation on ansible-container build,
it is possible to add playbook parameters, but it doesn't work.
ansible-container build -- …

ba10
- 1
- 1