mardi 24 mars 2015

boot2docker ssh ignores quotes


Vote count:

0




I'm trying to write string into file at my boot2docker instance, so from my local environment I'm calling:



boot2docker ssh "sudo sh -c \"echo -e DOCKER_OPTS=\"--bip=some ip here --dns some ip --insecure-registry something here\" > /var/lib/boot2docker/profile\""


but unfortunately I'm getting line wo quotes like:



DOCKER_OPTS=--bip=some ip here --dns some ip --insecure-registry something here


I tried to play with single quotes, and some other combinations, but no luck.


Thanks in advance



asked 41 secs ago







boot2docker ssh ignores quotes

Aucun commentaire:

Enregistrer un commentaire