/orca

:whale: Orca | Docker workshop

Primary LanguageGo

Orca

The killer whale or orca is a toothed whale belonging to the oceanic dolphin family, of which it is the largest member. -- Wikipedia

git clone https://github.com/lukaszlach/orca
cd orca
bash workshop-prepare.sh

Introduction

Install Docker on Linux

# Install Docker 18.09
curl -fsSL https://get.docker.com | VERSION=18.09 CHANNEL=stable sh

# Install Docker under your $HOME as a non-root
curl -fsSL https://get.docker.com/rootless | sh

Install Docker helpers

# Windows
$ Set-ExecutionPolicy RemoteSigned
$ Install-Module posh-docker
$ Import-Module posh-docker

# Mac
$ brew tap homebrew/completions
$ brew install docker-completion
$ brew install docker-compose-completion

# Linux
$ apt install bash-completion
$ curl https://raw.githubusercontent.com/docker/docker-ce/master/components/cli/contrib/completion/bash/docker -o /etc/bash_completion.d/docker.sh

Enter Linux virtual machine

# Windows and Mac
$ docker run -it --rm --privileged --pid=host justincormack/nsenter1

# Mac
$ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty

Workshop