install md
This commit is contained in:
22
install.md
Normal file
22
install.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
== Install System from scratch ==
|
||||||
|
=== Install Docker ===
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
apt-get install \
|
||||||
|
apt-transport-https \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
gnupg-agent \
|
||||||
|
software-properties-common
|
||||||
|
|
||||||
|
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
||||||
|
|
||||||
|
add-apt-repository \
|
||||||
|
"deb [arch=amd64] https://download.docker.com/linux/debian \
|
||||||
|
$(lsb_release -cs) \
|
||||||
|
stable"
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
apt-get install docker-ce docker-ce-cli containerd.io
|
||||||
|
|
||||||
|
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
|
||||||
Reference in New Issue
Block a user