ZOYKU火線榜

michaelsauter/crane技術文件

Crane - Lift containers with ease

多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
極速安裝
go get github.com/michaelsauter/crane

Crane

Lift containers with ease - michaelsauter.github.io/crane

Overview

Crane is a Docker orchestration tool similar to Docker Compose with extra features and (arguably) smarter behaviour. It works by reading in some configuration (JSON or YAML) which describes how to run containers. Crane is ideally suited for development environments or continuous integration.

Features

  • Extensive support of Docker run flags
  • Simple configuration with 1:1 mapping to Docker run flags
  • docker-compose compatible
  • ultra-fast bind-mounts via Unison on Mac
  • Shortcut commands
  • Flexible ways to target containers (through groups and CLI flags to exclude/limit)
  • Smart detach / attach behaviour
  • Verbose output which shows exact Docker commands
  • Hooks
  • ... and much more!

Documentation & Usage

Please see michaelsauter.github.io/crane/docs.html.

Installation

The latest release is 3.6.1 and requires Docker >= 1.13. Please have a look at the changelog when upgrading.

bash -c "`curl -sL https://raw.githubusercontent.com/michaelsauter/crane/v3.6.1/download.sh`" && \
mv crane /usr/local/bin/crane

Copyright © 2013-2020 Michael Sauter. See the LICENSE file for details.


GoDoc Build Status

文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-09