Closed kxxdoerner closed 6 months ago
Hiya @kxxdoerner
Change the .env file and comment out that entry james in, you shouldn't need to make any changes.
Then, do a
docker compose down docker compose rm docker compose up
And you should be good 👍
James,
thanks for your quick response, I appreciate that. I commented the lines out as recommended.
After docker-compose up
I get these responses:
PS C:\Users\klaus\diveintoansible-lab> docker-compose up
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
time="2024-01-10T15:40:40+01:00" level=warning msg="The \"ANSIBLE_HOME\" variable is not set. Defaulting to a blank string."
1 error(s) decoding:
* error decoding 'volumes[0]': invalid spec: :/config: empty section between colons
and I do not see
Attaching to docker, centos1, ubuntu2, ubuntu3, centos2, centos3, ubuntu-c, ubuntu1, portal
Attached my .env file .env.txt
Do you have an idea what went wrong? Thanks ... Klaus
Hiya,
Easiest thing to do, could you copy the .env file from the repository and make no changes, then you should be good 👍
It works! Thank you, regards from Duesseldorf in Germany, Klaus
I installed diveintoansible in my home directory c:\Users\klaus\diveintoansible-lab\ I get an error (specifying a "james" directory) after running docker-compose up. Any idea what I did wrong? Help appreciated ...
MESSAGE: Attaching to centos1, centos2, centos3, docker, portal, ubuntu-c, ubuntu1, ubuntu2, ubuntu3 Error response from daemon: error while creating mount source path '/run/desktop/mnt/host/c/users/james/diveintoansible-lab/ansible_home/shared': mkdir /run/desktop/mnt/host/c/users/james: permission denied
.env.txt