Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script to setup LInuxKit OS on Ubuntu 16.04 OS
set -e
#Verify if Docker is installed or not
docker version
if [ $? -ne 0 ]; then
echo "Docker is not installed"
curl -sSL $url | sh
echo "docker is already installed and running"
# Installing Pre-requisite Packages
sudo apt install make golang git -y
#Pulling LinuxKit Repository
git clone
# Execute make command
cd linuxkit
sudo make
#Copy moby and linuxkit into PATH variable
sudo cp bin/* /usr/local/bin
# Use Moby to build the LinuxkitOS
sudo moby build linuxkit.yml
# Use Linuxkit to run the LinuxKit OS
sudo linuxkit run linuxkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.