Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 447 Bytes

File metadata and controls

32 lines (22 loc) · 447 Bytes

Install Docker Machine in VM

Docker Machine Install

docker-machine create --driver generic \
					  --generic-ip-address $IP_ADDR \
					  --generic-ssh-key ~/.ssh/id_rsa \
					  --generic-ssh-user=$USERNAME $VM_NAME

Docker Login

sudo docker login -u $DOCKERHUB_ID

While Loop Syntax

while IFS= read -r line; 
do
	echo $line
done < provisioned_vms.txt

IFS : Internal field separator