[bugfix] jq should be installed beforehand
This commit is contained in:
parent
e3f03e5d76
commit
8d6a7f15c6
|
@ -10,7 +10,7 @@ case "$PM" in
|
||||||
# snap docker will intefere native docker.io, must be dealt with
|
# snap docker will intefere native docker.io, must be dealt with
|
||||||
sudo snap remove --purge docker
|
sudo snap remove --purge docker
|
||||||
pm_update
|
pm_update
|
||||||
sudo apt install -y docker.io
|
sudo apt install -y docker.io jq
|
||||||
"$PDIR/devel/python.sh"
|
"$PDIR/devel/python.sh"
|
||||||
sudo pip3 install docker-compose
|
sudo pip3 install docker-compose
|
||||||
;;
|
;;
|
||||||
|
@ -19,8 +19,6 @@ case "$PM" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
sudo systemctl enable docker
|
|
||||||
sudo systemctl start docker
|
|
||||||
|
|
||||||
# configuration
|
# configuration
|
||||||
sudo usermod -aG docker "$USER"
|
sudo usermod -aG docker "$USER"
|
||||||
|
@ -43,3 +41,6 @@ if in_china; then
|
||||||
sudo tee /etc/docker/daemon.json
|
sudo tee /etc/docker/daemon.json
|
||||||
sudo systemctl restart docker
|
sudo systemctl restart docker
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo systemctl enable docker
|
||||||
|
sudo systemctl start docker
|
||||||
|
|
Loading…
Reference in New Issue
Block a user