README.adoc

    Stevedore

    Build Status Download Chocolatey package

    Overview

    This project aims to provide a frictionless Docker experience on Windows.

    Stevedore can be used as a replacement for Docker Desktop, DockerMsftProvider or Mirantis Container Runtime.

    Both Linux and Windows Containers are supported.

    If you only need Linux containers, you might want to consider these projects:

    Supported OSes

    • Windows 10, 11

    • Windows Server 2016, 2019, 2022 (note that Linux containers are only supported via LCOW due to lack of WSL2)

    Looking for a solution for Mac? Give Colima a try.

    Installation

    Manual

    1. Download MSI installer

    2. Double-click on it

    3. Next-next-next

    4. Reboot your computer. This is needed to finish installation of Windows Containers feature and to add your user to docker-users group so user can access Docker service.

    5. Proceed to Post-installation steps

    Chocolatey

    Stevedore is available via Chocolatey package manager. If you already have Chocolatey installed, you can just run the following command from elevated console:

    choco install stevedore

    Then reboot and proceed to Post-installation steps

    WinGet

    winget install stevedore

    Then reboot and proceed to Post-installation steps

    Post-installation steps

    NOTE

    Skip this step if you didn’t install Linux containers support

    After installing Stevedore and rebooting, you need to install Linux kernel update package for WSL2.

    Finally, run Stevedore app using desktop shortcut or start menu.

    If everything was done properly, you’ll be able to use docker command to work with Linux containers.

    You may try docker run --rm -i hello-world from a command line to confirm that everything was set up properly.

    Advanced: Command-line install options

    Stevedore installer supports several command-line options that may be handy to configure unattended installations.

    Basic usage: msiexec /i c:\path\to\stevedore.msi.

    For quiet (non-interactive) installation add /quiet option.

    If you only want to install specific Stevedore features, use ADDLOCAL=Feature1,Feature2,Feature3 syntax.

    List of available MSI features for ADDLOCAL
    • FeatureWindowsContainers installs Windows Containers support, including Stevedore service. It allows running containers with process isolation.

    • FeatureHyperV installs Hyper-V support. It allows running containers with Hyper-V isolation.

    • FeatureLinuxContainers installs Linux Containers WSL2 support.

    You can also pass custom installation properties to Stevedore installer using PROPERTY=value syntax.

    List of available MSI properties
    • INSTALLDIR=%ProgramFiles%\Stevedore specifies directory where Stevedore executable files will be installed

    • SERVICENAME=stevedore specifies Windows service name

    When installing Stevedore via Chocolatey, use this syntax: choco install stevedore --params="ADDLOCAL=Feature1,Feature2,Feature3 PROPERTY=value /quiet"

    Bundled components

    • Docker Engine 20.10.16

    • Docker App 0.9.1-beta3

    • Buildx 0.8.2

    • Docker Compose 2.5.0

    • Docker Scan 0.17.0

    • kubectl 1.24.0

    • docker-credential-wincred 0.6.4

    Usage

    After installation and reboot, docker command should be available on PATH and ready to use.

    You may try docker run --rm -i hello-world from a command line to confirm that everything was set up properly.

    In order to communicate with Docker engine, users needs to be in docker-users group. Upon installation, Stevedore automatically adds installing user to docker-users. If you need other users to also access Docker engine, you will need to add them manually. You can use Add-LocalGroupMember PowerShell commandlet for that.

    Linux Containers support

    Current limitations:
    • WSL2 image, that Stevedore uses to run Docker, doesn’t update when you update Stevedore. #25

    • It is impossible to update WSL2 image without wiping all images/containers. #24

    See it in action:

    Your browser does not support the video tag.

    Docker Compose

    Stevedore installs two flavors of Docker Compose.

    You can use Docker Compose V2 via docker compose command.

    You can also use Docker Compose V1 compatibility mode via docker-compose command.

    Managing Stevedore tray app auto-startup

    IMPORTANT

    You need to run Stevedore tray app to use Linux containers.

    1. Open Windows Task Manager

    2. Open Startup tab

    3. Right-click on Stevedore entry

    4. Choose Enable or Disable options to control Stevedore tray app auto-startup

    Configuration and data files

    Stevedore stores configuration and runtime data files for Windows containers under %ProgramData%\Docker directory.

    Linux-specific WSL data is stored in stevedore WSL distribution located under %LOCALAPPDATA%\Stevedore directory.

    Building from source

    1. Install Rust

    2. Install WiX Toolset either manually or by running choco install wixtoolset if you have Chocolatey

    3. Clone Stevedore Git repository

    4. Run cargo install cargo-wix to install cargo-wix

    5. Run cargo wix --nocapture in repository root. Ready-to-use MSI package will be built in <repo>/target/wix directory.

    项目简介

    🚢 Docker distribution for Windows that Just Works

    🚀 Github 镜像仓库 🚀

    源项目地址

    https://github.com/slonopotamus/stevedore

    发行版本 21

    0.7.0

    全部发行版

    贡献者 2

    M Marat Radchenko @Marat Radchenko
    D dependabot[bot] @dependabot[bot]

    开发语言

    • Rust 91.5 %
    • PowerShell 8.5 %