본문 바로가기
728x90
반응형

ubuntu3

[Ubuntu] docker 에러 해결 "docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock" docker 설치 후, 명령어를 실행했을 때 아래와 같은 에러가 발생.$ fmriprep-dockerdocker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.See 'docker run --help'.Could not detect memory capacity of Docker container.Do you have permission to run .. 2023. 4. 12.
[Linux] Ubuntu에서 Docker 설치하기 Uninstall old versions (이전 버전 제거하기) $ sudo apt-get remove docker docker-engine docker.io containerd runc Install using the apt repository 1. Update the apt package index and install packages to allow apt to use a repository over HTTPS: $ sudo apt-get update $ sudo apt-get install \ ca-certificates \ curl \ gnupg 2. Add Docker’s official GPG key: $ sudo mkdir -m 0755 -p /etc/apt/keyrings $ curl -.. 2023. 4. 6.
[Ubuntu] docker 에러 해결 "docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?" docker 설치 후, 명령어를 실행했을 때 아래와 같은 에러가 발생한다.$ sudo docker run hello-worlddocker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.See 'docker run --help'. 아래 명령어로 docker 실행 확인 --> 실행되지 않고 있음!$ service docker status* Docker is not running  docker 실행시키기$ sudo service docker start* Starting Docker: docker 다시 docker 실행 확인해보기$ service docker status* Docke.. 2023. 4. 6.
728x90
반응형