mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
install specific docker verison
This commit is contained in:
@@ -1207,7 +1207,11 @@ docker_install() {
|
|||||||
retry 50 10 "apt-get update" >> "$setup_log" 2>&1 || exit 1
|
retry 50 10 "apt-get update" >> "$setup_log" 2>&1 || exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
retry 50 10 "apt-get -y install docker-ce python3-docker" >> "$setup_log" 2>&1 || exit 1
|
if [ $OSVER == "bionic" ]; then
|
||||||
|
retry 50 10 "apt-get -y install docker-ce=5:20.10.5~3-0~ubuntu-bionic python3-docker" >> "$setup_log" 2>&1 || exit 1
|
||||||
|
elif [ $OSVER == "focal" ]; then
|
||||||
|
retry 50 10 "apt-get -y install docker-ce=5:20.10.8~3-0~ubuntu-focal python3-docker" >> "$setup_log" 2>&1 || exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
docker_registry
|
docker_registry
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user