목록docker (4)
Zero To One

Ubuntu20.04LTS > sudo docker context create ecs myecscontext context requires credentials to be passed as environment variables 해결 1. 다음과 같이 실행 (우분투라도 sudo는 빼고 실행해야됩니다. 이유는 맨 밑에 ADD 부분에 있습니다) $ docker context create ecs myecscontext ? Create a Docker context using: AWS environment variables Successfully created ecs context "myecscontext" $ docker context use myecscontext myecscontext $ docker co..
1. sudo docker-compose up 위와 같은 명령어를 쳤을 때, > sudo docker-compose up [sudo] jaehyeok의 암호: Pulling apache (front:1.1)... ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing. Continue with the new image? [yN]y Pulling apache (front:1.1)... ERROR: pull access denied for front, reposit..

https://docs.docker.com/engine/reference/commandline/container_run/ docker container run docker container run: Run a command in a new container docs.docker.com docker/whalesay 실행 docker/whalesay:latest 라는 문장은 다음와 같이 읽을 수 있습니다. Docker Hub라는 레지스트리에서 docker라는 유저가 등록한 whalesay 이미지 혹은 레포지토리에서 latest 태그를 가진 이미지 https://hub.docker.com/r/docker/whalesay Docker Hub hub.docker.com 1. 최신 이미지 받아오기 > sudo do..
sudo apt-get update sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release 1. 공식홈페이지를 참조해서 설치를 진행해 봅시다. https://docs.docker.com/engine/install/ubuntu/ Install Docker Engine on Ubuntu docs.docker.com 2. 오래된 도커 버전이 있다면 삭제해 줍시다. sudo apt-get remove docker docker-engine docker.io containerd runc 3. 도커 저장소 설치 레파지토리를 set-up 해줍시다. 먼저 sudo apt-get update를 통해 업데이트 후 설치해 줍니다. sudo apt-get upd..