Closed sarathsreedharan closed 4 years ago
1) I believe 'clai' setup on the website is on top of Ubuntu (xenial xerus, 4.4.0-173-generic). I also, see most of the tests are run on 'xenial'. Basically, ubuntu 16.04 LTS. I personally tested it on ubuntu 18.04 LTS (Bionic Beaver). I am not sure about backports though.
FYI I tried to replicate this today on a couple of different attempts. My only development machine at the moment is a current Mac. I grabbed a vanilla ubuntu 14.04 instance to run in docker on my mac to simulate your host environment. Within that instance, I tried to build CLAI (with some tricks to get the docker daemon to start from within my ubuntu container such as invoking the docker daemon with no networking as a workaround to make it launch without failure) but I get another issue with the docker build than you do. My issue trying to replicate that environment seems to be a direct result of my attempt to do things nested in docker. If I have time later in the week I will try some more workarounds to replicate your issue, but so far I cannot replicate it here. I encourage anyone else in the community if they have the means to replicate or confirm this issue to let us know!
Greetings, I was able to replicate the issue and solve it. I installed ubuntu 14.04 (Grabbed from here:- http://releases.ubuntu.com/14.04/) on a 32GB flash drive. After installing docker, I did run an example container to check my docker running perfectly. Next step was to run the command "sudo ./BuildDockerImage.sh" it was giving out the issue as mentioned above:-
When I ran 'docker build --help', I understood the issue. It was the extra flag value that we were passing. Hence, removed the extra flag and ran the below command.
"sudo docker build -f Dockerfile.CLAI -t claiplayground ."
Above you can see a container formation, followed by which I ran "sudo ./RunDockerImage.sh" and other instructions remain the same.
And finally the testing of CLAI.
Now, we have a working clai environment in "Ubuntu 14.04",(Codename - "Trusty Tahr"). Yay, one more LTS in the list of tested ubuntu O.S.!!
Awesome!! @madhavanpallan 👏👏
@sarathsreedharan can you check once if that works for you?
Thanks @TathagataChakraborti :)
That fixed it, thanks guys!!
Describe the bug I am trying to follow the steps mentioned in the README to set up the CLAI container on my Ubuntu 14.0.4 system (Linux en4119722l 4.4.0-75-generic #96~14.04.1-Ubuntu and Docker version 1.6.2, build 7c8fca2), but the command BuildDockerImage.sh is failing while reporting missing flags
To Reproduce