Unverified Commit 33fdad84 authored by Ahmad Nemati's avatar Ahmad Nemati Committed by GitHub

Update install.sh

parent 7bea40b6
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get -y update sudo apt-get -y update
sudo apt-get install \ sudo apt-get -y install \
apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \
curl \ curl \
...@@ -21,11 +21,11 @@ sudo add-apt-repository \ ...@@ -21,11 +21,11 @@ sudo add-apt-repository \
sudo apt-get -y update sudo apt-get -y update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io sudo apt-get -y install docker-ce docker-ce-cli containerd.io
docker volume create portainer_data
docker run -d -p 9000:9000 --name=port --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer docker run -d -p 80:9000 --name=port --restart=always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment