I guess I should have seen this coming, but it is a good thing – the Bluemix docker documentation has been updated since this post was published. It is still worth reading to learn a few things about docker – but the referenced documentation site does not look like it is detailed in this post (less than 24 hours later!!)
Currently access to containers within Bluemix is at BETA (May 2015) and you have to request access to get to it. I am writing this for my own sanity and documentation…….
The instructions for installation are here
Having had to figure out how to give my boot2docker access to the internet to download files for Step 1, Step 2 was no easier…
Well when I tried that I got this……
So having a quick Google and some Toby I found this link about using curl instead of wget
Using curl -O instead of wget it works
- Install Python Setuptools, see Installing and Using Setuptools.
Install says do this – curl https://bootstrap.pypa.io/ez_setup.py -o – | python
and that bombed
Do this instead
sudo python ez_setup.py
Abandon all faith ye who enter…..ok what next
docker@boot2docker:~$ wget cf.tgz -L -O https://cli.run.pivotal.io/stable?release=linux32-binary
docker@boot2docker:~$ sudo tar -zxvf cf.tgz -C /usr/bin/
well that didn’t work as we have already seen – try I tried this instead and this failed as well
curl cf.tgz -O https://cli.run.pivotal.io/stable?release=linux32-binary
I tried to download the file (https://cli.run.pivotal.io/stable?release=linux32-binary ) with chrome dev tools open and I saw this URL – http://go-cli.s3-website-us-east-1.amazonaws.com/releases/v6.11.2/cf-linux-386.tgz
so I tried this – and it worked
then this failed – sudo tar -zxvf cf.tgz -C /usr/bin/ because the name of the file is really cf-linux-386.tgz
so do this
- sudo tar -zxvf cf-linux-386.tgz -C /usr/bin/
Set the following variable: DOCKER_TLS_VERIFY=1
“Note: If you are using Boot2docker, set the variable in your Boot2docker VM.”
So I checked the docker git site…https://github.com/boot2docker/boot2docker which states clearly…
I also saw to run boot2docker up and oooooo look at that export !!!
So do that (I wonder what the other two do – that might be helpful later)
- export DOCKER_TLS_VERIFY=1
“You are ready to install the IBM Containers Extension.”
Steps 1 – 5 and none of them worked as per the instructions. I have done my part and commented on the post stating as such, but wow !!!
You can’t make this up…..more as soon as I can figure it out….or not !
I did learn a bunch about curl, boot2docker, oracle VirtualBox so not a total waste