container

(★ 49,181)

Mac에서 경량 가상 머신을 사용하여 Linux 컨테이너를 생성하고 실행하는 도구입니다. Swift로 작성되었으며 Apple silicon에 최적화되어 있습니다.

파일 탐색기

  • .gitignore
  • .spi.yml
  • .swift-format
  • .swift-format-nolint
  • BUILDING.md
  • CONTRIBUTING.md
  • LICENSE
  • licenserc.toml
  • MAINTAINERS.txt
  • Makefile
  • NOTICE.md
  • Package.resolved
  • Package.swift
  • Protobuf.Makefile
  • README.md
  • SECURITY.md

# 설치 가이드

swift
사전 준비물

설치 및 실행 절차

container system start

컨테이너 시스템 서비스를 시작합니다.

container run --rm alpine echo hello

첫 번째 컨테이너를 실행하여 동작을 테스트합니다.

핵심 명령어

container system start

컨테이너 시스템 백그라운드 서비스를 시작합니다.

container run --rm alpine echo hello

지정한 이미지로 새로운 컨테이너를 생성하고 실행합니다.

container system stop

실행 중인 컨테이너 시스템 서비스를 중지합니다.

관리자 권한이 필요할 수 있으며, 업그레이드 전 시스템을 중지해야 합니다.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

릴리즈 타임라인

활발히 관리 중

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

hello

설명 보기 ▼

"Hello, world!", "hello, world" 또는 사용자 정의 가능한 텍스트를 출력.
더 많은 정보: <https://www.gnu.org/software/hello/manual/hello.html#Invoking-hello>.

hello

"Hello, world!" 출력:

hello {{[-t|--traditional]}}

전통적인 유형인 "hello, world"를 출력:

hello {{[-g|--greeting]}} "{{greeting_text}}"

문자 메시지 출력:

🔍

alpine

설명 보기 ▼

pico/nano에서 영감을 받은 인터페이스를 가진 이메일 클라이언트 및 유즈넷 뉴스그룹 프로그램입니다.
IMAP을 통해 대부분의 최신 이메일 서비스를 지원합니다.
더 많은 정보: <https://manned.org/alpine>.

alpine

일반적으로 alpine 열기:

alpine {{[email protected]}}

특정 이메일 주소로 이메일을 보내기 위한 메시지 작성 화면으로 바로 alpine 열기:

<q><y>

alpine 종료:

🔍

container

설명 보기 ▼

Create and run Linux containers as lightweight virtual machines on macOS.

container system start

Start the container services (required before running containers):

container run --rm {{[-it|--interactive --tty]}} {{image}} {{sh}}

Run a container from an image interactively and remove it after it exits:

container run {{[-d|--detach]}} --name {{container_name}} {{[-p|--publish]}} {{8080:80}} {{image}}

Run a container in the background with a name and a published port:

// repository documentation