ember-cli-docker-template icon indicating copy to clipboard operation
ember-cli-docker-template copied to clipboard

NFS step 6

Open mlennie opened this issue 9 years ago • 1 comments

Hello thank you for your work. I'm following the NFS instructions and first of all there was no profile file. I noticed you said if this is the case, I should upgrade but my boot2docker.iso is 1.5.0 . So I created the profile file and now ran echo mkdir /Users >> profile. It showed -sh: can't create profile: Permission denied. I even tried to run it with sudo. Any help would be appreciated thanks!

mlennie avatar Apr 02 '15 07:04 mlennie

I just took a look at a boot2docker 1.5 vm that I create a few days ago. I have not setup anything in this vm yet - so it is clean. I created this vm using docker-machine. docker-machine uses the actual iso images from the boot2docker project. You can see the build version below when I ssh into the vm. Also check the permissioning. I had to sudo to modify the existing file. If you used boot2docker to create the vm then perhaps you should give docker-machine a try instead. It might be updating the vm after creation - but I doubt it.

$ docker-machine ssh
                        ##        .
                  ## ## ##       ==
               ## ## ## ##      ===
           /""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~
           \______ o          __/
             \    \        __/
              \____\______/
 _                 _   ____     _            _
| |__   ___   ___ | |_|___ \ __| | ___   ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__|   <  __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
Boot2Docker version 1.5.0, build master : a66bce5 - Tue Feb 10 23:31:27 UTC 2015
Docker version 1.5.0, build a8a31ef
docker@devvbox:~$ ls -la /var/lib/boot2docker/
total 104
drwxr-xr-x    6 root     root          4096 Mar 26 03:31 ./
drwxr-xr-x    4 root     root          4096 Mar 26 03:31 ../
-rw-r--r--    1 root     root          1035 Mar 26 03:31 ca.pem
-rw-r--r--    1 root     root         55986 Apr  2 14:24 docker.log
drwxr-xr-x    2 root     root          4096 Mar 26 03:31 etc/
drwxr-xr-x    2 root     root          4096 Mar 26 03:31 log/
-rw-r--r--    1 root     root           340 Mar 26 03:31 profile
-rw-r--r--    1 root     root          1680 Mar 26 03:31 server-key.pem
-rw-r--r--    1 root     root          1095 Mar 26 03:31 server.pem
drwxr-xr-x    2 root     root          4096 Mar 26 03:31 ssh/
drwx------    2 root     root          4096 Mar 26 03:31 tls/
-rw-r--r--    1 root     root          4096 Mar 26 03:31 userdata.tar
docker@devvbox:~$ cat /var/lib/boot2docker/profile 
EXTRA_ARGS='--tlsverify --tlscacert=/var/lib/boot2docker/ca.pem --tlskey=/var/lib/boot2docker/server-key.pem --tlscert=/var/lib/boot2docker/server.pem --label=provider=virtualbox -H tcp://0.0.0.0:2376'
CACERT=/var/lib/boot2docker/ca.pem
SERVERCERT=/var/lib/boot2docker/server.pem
SERVERKEY=/var/lib/boot2docker/server-key.pem
DOCKER_TLS=no
docker@devvbox:~$ sudo vi /var/lib/boot2docker/profile 
docker@devvbox:~$

danlynn avatar Apr 02 '15 14:04 danlynn