본문 바로가기

728x90
반응형

docker

Docker Buildx를 사용하여 다중 플랫폼 이미지를 빌드하는 방법 Docker Buildx를 사용하여 다중 플랫폼 이미지를 빌드하는 방법Docker Buildx를 사용하여 다중 플랫폼 이미지를 빌드하는 방법은 다음과 같습니다. 1. Docker CLI를 최신 버전으로 업그레이드합니다. 2. Docker Buildx 플러그인을 설치합니다.docker buildx install 3. Docker Buildx를 사용하여 빌드할 다중 플랫폼 이미지를 생성합니다.docker buildx create --use --name mybuilder위 명령은 새로운 Buildx 빌더를 생성하고, "mybuilder"라는 이름으로 설정한 후 해당 빌더를 사용하도록 지정합니다. 4. 빌드할 다중 플랫폼 이미지를 빌드합니다.docker buildx build --platform ,,... --.. 더보기
우분투에 최신 버전의 Docker를 설치하는 방법 우분투(Ubuntu)에 최신 버전의 Docker를 설치하는 방법 1. 이전 버전의 Docker 제거 sudo apt-get remove docker docker-engine docker.io containerd runc 2. Docker 저장소 설정 Docker를 설치하기 위해 Docker 저장소를 우분투에 추가합니다. sudo apt-get update sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker.. 더보기
우분투에서 도커 엔진을 설치하는 방법(docker install) 우분투에서 도커 엔진을 설치하는 방법(How to install Docker Engine on Ubuntu) Docker 엔진을 리눅스에서 설치하는 방법은 다음과 같습니다. 1. 리눅스 패키지 업데이트를 수행합니다. sudo apt-get update 2. Docker 엔진 설치에 필요한 패키지를 설치합니다. sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common 3. Docker 공식 GPG 키를 다운로드하고 apt-key 명령어를 사용하여 추가합니다. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key .. 더보기
How to ubuntu with docker container How to ubuntu with docker container 1. Pull the Ubuntu image from Docker Hub. docker pull ubuntu 2. Create a new container based on the Ubuntu image. docker run -it ubuntu 3. Access the Ubuntu container. docker attach ubuntu 4. Perform your desired tasks within the Ubuntu container. 5. Stop the Ubuntu container. docker stop ubuntu 6. Remove the Ubuntu container. docker rm ubuntu Run a Docker con.. 더보기

728x90
반응형