Skip to content
Permalink
e93948f77c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (14 sloc) 366 Bytes
@echo off
set USERLIST="userlist.txt"
setlocal ENABLEDELAYEDEXPANSION
FOR /F "tokens=1 usebackq delims=. " %%a in (%USERLIST%) do (
set node=%%a
set user=!node!
docker start !node!
docker exec -u !user! !node! bash -c "/bin/startvnc"
docker exec !node! bash -c "service ssh start"
)
docker start admin
docker ps -a
pause
exit