I got a problem on running ddev on my ubuntu 20.04.
Installation of ddev ran without any problems (ddev version v1.15.0), but if i try starting a container it always runs into following error:
.PermissionError: [Errno 13] Permission denied: '/home/user/.ddev/ssh-auth-compose.yaml'
Failed to start api-bundle: failed to start ddev-ssh-agent: Failed to run docker-compose [-f /home/user/.ddev/ssh-auth-compose.yaml -p ddev-ssh-agent up --build --force-recreate -d], err='exit status 1', stdout='', stderr='.PermissionError: [Errno 13] Permission denied: '/home/user/.ddev/ssh-auth-compose.yaml''
I've already tried to give the ddev and home directory and all other directories above a full access (chmod -R 777) the user of the .ddev directory in my project is the same as my home directory owner.
Running .ddev with the same project on a diffrent Ubuntu 19.04 runs like charme.
If i omit the ddev-ssh-agent the container is starting, but crashing when trying to write to router-compose.yaml.
Current docker version is 19.03.11, build dd360c7
Docker-Compose version 1.25.5,
both installed via snap.
I have no clue what to try next,
so hopefully you can help me.
Thanks in advance.
Do not install docker-compose with snap (other apt). This should solve your issue: https://github.com/drud/ddev/issues/2347#issuecomment-652804548
Related
I am trying to run the docker docker-compose build command in Windows but it isn't running. I get the following error.
[+] Building 0.0s (0/0)
error during connect: This error may indicate that the docker daemon is not running.: Get "http://%!F(MISSING)%!F(MISSING).%!F(MISSING)pipe%!F(MISSING)docker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.: driver not connecting
My docker-compose version is v2.5.0 but it doesn't let me run the build command. I even installed Docker for Windows and it only shows me the following issue.
Not sure how to proceed with this.
I have installed the Postgres v-12 using this blog on my ubuntu 20.04. After installing that when I run the command
pg_ctlcluster 12 main start
I got the below error
Insecure directory in $ENV{PATH} while running with -T switch at
/usr/bin/pg_ctlcluster line 398.
To fix this error I tried to give permission 750 to /bin directory as per the blog and followed the rest of the steps mentioned there. So when I run the command su postgres I gotthe below error
su: failed to execute /bin/bash: Permission denied
I have tried many blogs but didn't get any success.
Can anyone help me to run the Postgres?
a co-worker is having troubles getting any docker volumes to mount on his Mac. It works fine for me, but not him.
we both have same version of Catalina + docker 2020-03-31 2.2.0.5
docker run hello-world works as expected.
from home directory:
docker run -it --rm -v $PWD:/test alpine /bin/sh
runs fine for me but for my co-worker (in his home dir):
docker: Error response from daemon: Mounts denied: EOF.
ERRO[0000] error waiting for container: context canceled
We have tried:
reinstall docker
reset to factory defaults
putting the local dist to mount in many different directories
docker system prune
reboot of entire machine
I'm running out of things to try....
any ideas/suggestions?
things I'm considering: older version of docker, going through the pain of setting up docker via home-brew.
Thanks!
I have ruby application running inside docker.I tried to run docker container on ubuntu VM which worked fine.But when I tried to run the same docker-ruby application on another VM ,it is giving me error as-
Step 14/17 : RUN bundle install --gemfile test/Gemfile
---> Running in b545e371e3
/usr/bin/bundle: 2: exec: /usr/local/rvm/bin/rvm-exec: not found
ERROR: Service 'test' failed to build: The command '/bin/sh -c bundle install --gemfile test/Gemfile' returned a non-zero code: 127
I'm using same repository and ruby version(1.8.7) on both ubuntu systems, still facing issue.Can anyone help/suggest some solution on this issue? Thanks in advance.
I have docker installed on my macbook pro OS Sierra 16G1212
I have a simple docker file in /mypath/Dockerfile
When I try the command:
docker build .
I get an error:
error checking context: 'can't stat '/Users/bdisha/Library/Caches/com.cisco.Jabber/com.apple.opencl''.
What am I doing wrong?
Thank you
The problem was resolved by me creating a "dockerfiles" directory and moving my Dockerfile in there.
After that, I could manage to build the image just fine.