Run multiple docker container with ssh access.
- Make sure you have docker installed on your machine and can run perfectly.
- Clone or download this repository:
git clone https://github.com/nacita/docker-with-ssh.git
cd docker-with-ssh
- Prepare the
peserta.csv
file, or whatever the name you define in variabel inrun.sh
. The content in csv file is something like this:
31 zaenal
32 juliansyah
33 Kawakib
- or just copy from the example:
cp peserta.csv.example peserta.csv
- Adjust the variable in the file
run.sh
or just leave the default. - Give the script an executable flag with
chmod
chmod +x run.sh
- execute the script with -s
./run.sh -s
MIT