Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
# 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: