Install

apt-get install docker.io

https://docs.portainer.io/start/install/server/docker/linux

Instances

docker run -itd –rm –netowrk extraip –ip 203.xxx.xxx.15 –name test busybox

docker exec -it test sh

Storage

Networking

Bridge Mode

IPv6

docker network create -d bridge –ipv6 –subnet 2xxx:3xxx:exxx:0xxx::/64 –gateway 2xxx:3xxx:exxx:0xxx::1 bridge6

Host Mode

Runs directly on the host ip

MACVLAN Mode

IPVLAN Mode

L2

Allow to share same mac

docker network create -d ipvlan –subnet 203.xxx.xxx.xxx/24 –gateway 203.xxx.xxx.1 -o parent=eth0 extraip

docker network inspect extraip

L3