3 ms·
I am not very good at unix command line, but maybe it could be done like this: curl http://get.docker.io http://get.docker.io > /tmp/docker-install && sh /tmp/d
by jol 13y ago
I am not very good at unix command line, but maybe it could be done like this:
curl http://get.docker.io http://get.docker.io > /tmp/docker-install && sh /tmp/docker-install && rm /tmp/docker-install
that gives quick and easy way to inspect by executing only first command and then inspecting the source, i.e.,
1) copy just first part
curl http://get.docker.io http://get.docker.io > /tmp/docker-install
2) then inspect, e.g. cat /tmp/docker-install
3) run the install
sh /tmp/docker-install && rm /tmp/docker-install
or, if not reviewing run whole at once
p.s. I know, that there should not be direct copy-paste from browser to console and this method leaves a file in /tmp on installation failure