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