Comments (11)
This is affecting me as well.
from ansible-container.
echo $DOCKER_HOST
plz.
from ansible-container.
Seems to be a problem with the new Docker for Mac which is now in public beta. Same problem here. DOCKER_HOST is indeed not set in this situation. Docker VM is than a xhyve hypervisor. Tests with export DOCKER_VM_IP=docker run --rm --net host alpine ip addr show eth0 | sed -En "s/^.*inet (.+)\/.*$/\1/p"
get you an IP address. But this address doesn't publish on port 2375. Maybe someone with more insight into the xhyve mechanics could clear this up.
from ansible-container.
▶ echo $DOCKER_HOST
~
▶
Errr what?
xD
from ansible-container.
Using Debian 8 ^^
from ansible-container.
So @cdrage - check in our docs the section about configuring your Docker daemon: https://docs.ansible.com/ansible-container/installation.html#configuring-docker
@janprill - That issue is open in #27
from ansible-container.
Please reopen if after ensuring your Docker engine is configured properly, you still have issues.
from ansible-container.
@j00bar shouldn't this be more explicit / error out when actually running ansible-container? Ideally (similar to the docs) you should be able to simply do ansible-container init
then ansible-container build
and run
from ansible-container.
I'll agree about an explicit error message. I'll open a new issue for that.
from ansible-container.
@j00bar I got the same problem and the link you posted: https://docs.ansible.com/ansible-container/installation.html#configuring-docker doesn't work anymore. There is no section configuring-docker
from ansible-container.
@sieben, can you open a new issue and share your container.yml
, main.yml
, ansible-container --debug version
output, along with any salient output from ansible-container --debug build
, and I'll attempt to trouble shoot on this end. Thanks!
from ansible-container.
Related Issues (20)
- Destroy command deletes all similar images of other projects too HOT 7
- pip install of ansible-container fails if using pip version 10.0.1 HOT 6
- Environment Variables are not being passed as build arguments to the docker engine HOT 1
- build fails with pip 10 HOT 10
- Not able to Install Ansible-Container in Google Cloud HOT 1
- AttributeError: 'tuple' object has no attribute 'id' HOT 4
- Ansible container not seeing vault encrypted vars in vars_files HOT 9
- ImportError while importing test module HOT 1
- ruamel.yaml should be lockdown better HOT 2
- Ubuntu Bionic/Artful not in PREBAKED_DISTROS HOT 4
- TypeError: ordereddict is not JSON serializable HOT 2
- Build gets stuck (non-deterministic behavior) HOT 2
- "The role was not found" and "Failed to load container.yml" errors HOT 1
- Allow companies to adapt ansible-container in their workflow until official release done HOT 1
- ansible-container build: Conductor container fails when using user namespaces HOT 3
- OSError: [Errno 2] No such file or directory : '/root/ansible-container-env/lib/python2.7/site-packages/ansible_container-0.9.3rc0-py2.7.egg/contain er/docker/files/setup.py' HOT 6
- Create Dockerfile from Ansible roles HOT 1
- sa-ansible-container from PyPI fails to install using python 3 HOT 4
- sudo pip install is bad HOT 1
- Segmentation fault installing apt packages HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-container.