-
Notifications
You must be signed in to change notification settings - Fork 7
Docker
MightyDetail edited this page Feb 12, 2022
·
12 revisions
coming soon...
Download latest Docker Compose (latest at date writing this)
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Apply permissions to execute:
sudo chmod +x /usr/local/bin/docker-compose
Create symbolic link:
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
1.27.4 was the latest version available at time writing this.
Check for latest Version at Docker Docs
docker network create -d macvlan --subnet=IPv4/24 --gateway=IPv4GatewayIP --subnet=IPv6::/64 --gateway=IPv6::1 -o parent=eth0 -o macvlan_mode=bridge NAME
version: '3.3'
services:
test:
image: ...
container_name: test
restart: unless-stopped
networks:
NAME:
ipv4_address: 10.2....
ipv6_address: ::1
networks:
NAME:
external:
name: NAME