mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
18 lines
283 B
YAML
18 lines
283 B
YAML
services:
|
|
test:
|
|
image: alpine
|
|
mac_address: 32:b5:b2:55:48:72
|
|
networks:
|
|
net1:
|
|
ipv4_address: 10.123.0.253
|
|
tty: true
|
|
command: ["top"]
|
|
|
|
networks:
|
|
net1:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 10.123.0.0/24
|