26 lines
637 B
Plaintext
26 lines
637 B
Plaintext
create vm
|
|
git piston
|
|
|
|
install dock and piston units
|
|
systemctl enable dock@{1..10}.service
|
|
systemctl start dock@{1..10}.service
|
|
systemctl enable piston@{1..10}.service
|
|
systemctl start piston@{1..10}.service
|
|
|
|
install nginx config
|
|
|
|
export image:
|
|
./multidock 1 save -o piston.tar piston:latest
|
|
|
|
copy in image:
|
|
./multidock 1 load -i piston.tar
|
|
./multidock 2 load -i piston.tar
|
|
./multidock 3 load -i piston.tar
|
|
./multidock 4 load -i piston.tar
|
|
./multidock 5 load -i piston.tar
|
|
./multidock 6 load -i piston.tar
|
|
./multidock 7 load -i piston.tar
|
|
./multidock 8 load -i piston.tar
|
|
./multidock 9 load -i piston.tar
|
|
./multidock 10 load -i piston.tar
|