feat: add docker-compose to docker box
This commit is contained in:
parent
4cefae2b7d
commit
d76c5852b7
2
zabbix-debian-playground/Vagrantfile
vendored
2
zabbix-debian-playground/Vagrantfile
vendored
@ -64,7 +64,7 @@ Vagrant.configure("2") do |config|
|
|||||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
||||||
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
apt update
|
apt update
|
||||||
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose
|
||||||
systemctl enable --now containerd docker
|
systemctl enable --now containerd docker
|
||||||
sed -i 's/ServerActive=127.0.0.1/ServerActive=192.168.56.2/g' /etc/zabbix/zabbix_agent2.conf
|
sed -i 's/ServerActive=127.0.0.1/ServerActive=192.168.56.2/g' /etc/zabbix/zabbix_agent2.conf
|
||||||
sed -i 's/Hostname=Zabbix server/Hostname=docker/g' /etc/zabbix/zabbix_agent2.conf
|
sed -i 's/Hostname=Zabbix server/Hostname=docker/g' /etc/zabbix/zabbix_agent2.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user