mirror of
https://github.com/containers/podman.git
synced 2026-01-24 22:10:10 -05:00
* Add BaseHostsFile to container configuration * Do not copy /etc/hosts file from host when creating a container using Docker API Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
20 lines
272 B
YAML
20 lines
272 B
YAML
version: '3.3'
|
|
|
|
services:
|
|
test:
|
|
image: alpine
|
|
command: ["top"]
|
|
hostname: foobar
|
|
networks:
|
|
net1:
|
|
aliases:
|
|
- foobar
|
|
|
|
networks:
|
|
net1:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 10.123.0.0/24
|