dockerのインストール方法@ubuntu

docker のインストール ただしfreeのdocker community

https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository

を参考にすればよい。

 

必要となるソフトウェアのインストール

su -

apt update
apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

exit

 

docker用のリポジトリの追加

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

 

dockerのインストール
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

動くか確認

sudo docker run hello-world

 

自分のアカウントでdockerできるようにする。

sudo usermod -aG docker your-user(自分のアカウント名)
cd /var/yp
sudo make

もう一度ログインし直す
exit
ssh..

oclimaxのインストール

curl -sL https://sites.google.com/site/ornliceman/getoclimax | bash

export PATH=$HOME/.login/bin:$PATH

oclimax pull