Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.24 KB

BUILDING.md

File metadata and controls

49 lines (34 loc) · 1.24 KB

Build from source

This doc includes:

Build Requirements

Go >= 1.15.x is required.

Build the development environment

Requirements

Build

You need git to checkout the source code and compile:

git clone https://github.com/alibaba/accelerated-container-image.git
cd accelerated-container-image
make

The snapshotter and ctr plugin are generated in bin.

Configure

About proxy snapshotter plugin for containerd

sudo cat <<-EOF | sudo tee --append /etc/containerd/config.toml

[proxy_plugins.overlaybd]
   type = "snapshot"
   address = "/run/overlaybd-snapshotter/overlaybd.sock"
EOF

# don't forget to restart the containerd daemon.
sudo systemctl restart containerd