I had to change my username and home dir , after changing,upon startup I am still receiving an error and docker daemon fails to start.
Docker tries to use the old home directory and has a fatal error resulting in the app crashing
Docker uses the correct home directory and starts after a clean install
I found a solution ,
I changed the dataFolder in the ~/Library/Group\ Containers/group.com.docker/settings.json file to the new user name and start Docker Desktop again.
Related
When I try to run my gitlab-ci.yml, I got this error ?
Has anyone have any idea?
Thank you
The Error: mkdir command fails.
mkdir is a Linux/iOS command that creates a new directory.
When it throws the error:
Permission denied
it tells that the user running that command (the user executing the script or running the process) has no rights to create a directory in
/Users/nawinpoolsawad/builds/pxKER6-V/0/bitnance-exchange/exchange-ios.tmp
To fix the issue, change permission of the directory /Users/nawinpoolsawad/builds/pxKER6-V/0/bitnance-exchange/ and its parents or execute that application/script with another user (eg root).
I am new to docker. When I am trying to run the following code in Docker (powershell),
docker run -v 'pwd':/work name/exercise
I am getting the following error
/bin/sh: 1: cannot open /work/my-saying.txt: No such file.
But the file exists
This can be due to many issues since it's not very clear:
check that you're sharing your drives
check if there's any permission restriction on that file
docker run -v /work:name/exercise4 , there's a missing : in your
command
I'm trying to get the CircleCI CLI tool ( https://circleci.com/docs/2.0/local-jobs/ ) working on Ubuntu WSL on Windows 10. It appeared to install successfully -- and the file permissions appear to be correct. I have Docker for Windows installed and running, and the Linux Docker client works without issue.
But now it always errors when trying to validate a CircleCI config file.
I have tried:
circleci config validate -c .circleci/config.yml
and
circleci config validate
from the root of my repo.
But each time, it gives the error:
Error: open .circleci/config.yml: no such file or directory
Has anyone been able to get this work?
sudo worked for me to overcome this. However, I stuck with the next error.
Hello guys I'm trying to get my vagrant up but the docker keeps on throwing an error which is given below :
Can't find a suitable configuration file in this directory or any parent. Are you in the right directory
The file is present at the root of my project. It was all working well but it just started to throw an error. Can somebody tell me what is it that I have done due to which I'm getting this error
well, I had this error but it was due to vagrant. If you are running vagrant then first of all enter into your vagrant machine using :
vagrant ssh command
and try to find the file over there. If you don't have it over there then this is the problem. That file is not being loaded over here because of which you are getting this error.
My error was coming because vagrant was not mounting the nfs partition because of which the whole project was not loading in the vagrant machine and after that, the docker command was being run. Since the project was not being loaded docker command was not able to find the required file.
If this is your problem try to mount your nfs partition first.
Run:
docker-compose -f rootoftheprojectpath/docker-compose.yml up -d
Check read permissions, typos, etc. Also check that your file is not empty
Regards
I am trying to restart a daemon called site_checker.rb using SSH commands through PuTTY. This file is located in:
/home/MYUSERNAME/web/current/lib/daemons
After logging into my website, which is built with Ruby on Rails, I see the following on-screen:
[MYUSERNAME#MYUSERNAME ~]$
From here, I enter
[MYUSERNAME#MYUSERNAME ~]$ cd web
and then
[MYUSERNAME#MYUSERNAME ~/web]$ script/daemons start
However, I get an error:
-bash: script/daemons: No such file or directory
You try to start /home/MYUSERNAME/web/lib/daemons while you claim your script is actually in /home/MYUSERNAME/web/current/lib/daemons. You are missing the current.