[LINUX] Install docker on Fedora31

docker.png

Overview I put Docker on the development server, so work notes at that time (There is no basic problem if you follow the official document)

Docs Docker: https://docs.docker.com/engine/install/fedora/ Docker Compose: https://docs.docker.com/compose/install/#install-compose-on-linux-systems

How to install docker

$ sudo dnf -y install dnf-plugins-core  
$ sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
$ sudo dnf install docker-ce docker-ce-cli containerd.io
$ sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
$ reboot (Reboot)
$ sudo systemctl start docker
$ sudo docker run hello-world

OK if the following is displayed

Hello from Docker!
...

To start Docker automatically at boot time

$ sudo systemctl enable docker

To use without sudo

sudo usermod -aG docker [YOUR-USER]

How to install docker compose

$ sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose

I was told that there is no python here

$ sudo dnf install python

Then re-execute the following

$ sudo chmod +x /usr/local/bin/docker-compose

It's easy. (What's that easy?)

Recommended Posts

Install docker on Fedora31
Install Docker on AWS
Install Python 3.6 on Docker
Install Docker on WSL Ubuntu 18.04
pykintone on Docker
Fedora 33 beta install
Dockerfile: Install Docker on your Linux server
Install mecab on Marvericks
Install Tensorflow on Mac
Install TensorFlow on Ubuntu
Install python on WSL
Install Faiss on CentOS 7
Install pyenv on mac
Install pip on Mavericks
Install Python on Pidora.
Install Scrapy on python3
Install numba on CentOS 7.2
Install Ansible on Mac
Install Python on Mac
Install Python 3 on Mac
Install Plone (4.3.6) on MacOSX (10.10.3)
Install PySide2 on Ubuntu
Install Python3.4 on CentOS 6.6
Install Docker (Ubuntu 18.04 LTS)
Install gensim on Marvericks
Install JModelica on Ubuntu
Install Anaconda on Windows 10
Install numpy on Marvericks
Install python on windows
Install enebular-agent on Chromebook
Install pycuda on Windows10
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
Install aws-cli on MacPorts
Install pygraphviz on Windows 10
Install Python 3.3 on Ubuntu 12.04
Install Chainer 1.5.0 on Windows
Install Python 3.4 on Mac
Install Caffe on Mac
Install Theano on Ubuntu 12.04
Install pyenv on OSX
Install mecab on mac
Install awscli on centos7
Install angr on Ubuntu 18.04
Install Chainer on CentOS 6.7
Install mecab-python on Mac
Install pip / pip3 on Ubuntu
Install the machine learning library TensorFlow on fedora23
Install and develop Git, VSCode, Docker on Chrome OS
Install Docker on Arch Linux and run it remotely
Install octave_kernel on Jupyter [additional]
Install Numpy on virtualenv on Windows
Install cvxopt on 64bit Anaconda
Install Scrapy on Raspbian (Jessie)
Install Python 3.8 on RHEL 8 (AppStream)
Install Linux on your Chromebox
Install watchdog on Windows + Python 3.3
Install Win-Kex (kali-linux) on Windows 10.
Install tomcat 9 on Cent OS 8
Install cvxpy on windows, Anaconda
Install ImageMagick-6.2.x series on CentOS7.7