-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathdocker-compose.yml
69 lines (65 loc) · 1.33 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright (c) 2017, Juniper Networks, Inc.
# # All rights reserved.
#
version: "3"
services:
vmx1:
image: juniper/openjnpr-container-vmx:bionic
privileged: true
tty: true
stdin_open: true
ports:
- "22"
- "830"
environment:
- ID=vmx1
- LICENSE=license-eval.txt
- IMAGE=junos-vmx-x86-64-21.1R1.11.qcow2
- PUBLICKEY=id_rsa.pub
- CONFIG=vmx1.conf
# - WAITFOR=eth4
- IO_CORE=2
- WORKER_CORE=3
- MASTER_CORE=4
- VMXT_CORE=5
# - HDDIMAGE=/images/p1.qcow2 # if we want it to be persistant
volumes:
# - $PWD/images:/images
- $PWD:/u:ro
- /var/run/docker.sock:/var/run/docker.sock
networks:
mgmt:
net-a:
net-b:
net-c:
vmx2:
image: juniper/openjnpr-container-vmx:trusty
privileged: true
tty: true
stdin_open: true
ports:
- "22"
- "830"
environment:
- ID=vmx2
- LICENSE=license-eval.txt
- IMAGE=junos-vmx-x86-64-18.1R1.9.qcow2
- PUBLICKEY=id_rsa.pub
- CONFIG=vmx2.conf
- IO_CORE=6
- WORKER_CORE=7
- MASTER_CORE=8
- VMXT_CORE=9
volumes:
- $PWD:/u:ro
- /var/run/docker.sock:/var/run/docker.sock
networks:
mgmt:
net-a:
net-b:
net-c:
networks:
mgmt:
net-a:
net-b:
net-c: