Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > docker network create --driver macvlan --ipv6 --subnet fd2b:a315:a66f:75e7::/64 --attachable storagenet
- > docker inspect storagenet
- [
- {
- "Name": "storagenet",
- "Id": "acde8763026c8b83319f542bf056b1ae3aac1a1dda2918929f296ef83a86cc87",
- "Created": "2019-06-20T22:21:01.66099475+02:00",
- "Scope": "local",
- "Driver": "macvlan",
- "EnableIPv6": true,
- "IPAM": {
- "Driver": "default",
- "Options": {},
- "Config": [
- {
- "Subnet": "192.168.96.0/20",
- "Gateway": "192.168.96.1"
- },
- {
- "Subnet": "fd2b:a315:a66f:75e7::/64"
- }
- ]
- },
- "Internal": false,
- "Attachable": true,
- "Ingress": false,
- "ConfigFrom": {
- "Network": ""
- },
- "ConfigOnly": false,
- "Containers": {},
- "Options": {},
- "Labels": {}
- }
- ]
- > docker network rm storagenet
- > docker network create --driver macvlan --scope=swarm --ipv6 --subnet fd2b:a315:a66f:75e7::/64 --attachable storagenet
- > docker inspect storagenet
- [
- {
- "Name": "storagenet",
- "Id": "zljkxaebgc54l9l8dbav6oz4k",
- "Created": "2019-06-20T20:22:18.596857196Z",
- "Scope": "swarm",
- "Driver": "macvlan",
- "EnableIPv6": true,
- "IPAM": {
- "Driver": "",
- "Options": null,
- "Config": []
- },
- "Internal": false,
- "Attachable": true,
- "Ingress": false,
- "ConfigFrom": {
- "Network": ""
- },
- "ConfigOnly": false,
- "Containers": null,
- "Options": null,
- "Labels": null
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement