You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@slave-1 ~]# docker run -it --env MESOS_ROOT=/mesos -v ./build:/build containersol/mesos-modules-dev:14.04 sh -c 'cd /build ; cmake . ; make ; ./build/test_flocker_isolator'
docker: Error response from daemon: create ./build: volume name invalid: "./build" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed.
See 'docker run --help'.
The text was updated successfully, but these errors were encountered:
Yep the execution is wrong. There are multiple issues here
1.You can not use "./" in a host volume mapping
2.The instructions say to remove the build directory, and then create it. They fail to mention what needs to be populated in this build directory.
I suspect this is the result of somebody quick notes and they inadvertently left out some additional steps.
rm -rf^C
rm -rf ./build ./bin
mkdir build
(With the exact instructions):
docker run -it --env MESOS_ROOT=/mesos -v ./build:/build containersol/mesos-modules-dev:14.04 sh -c 'cd /build ; cmake . ; make ; ./build/test_flocker_isolator'
docker: Error response from daemon: create ./build: volume name invalid: "./build" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed.
See 'docker run --help'.
(Modified to resolve build directory location):
docker run -it --env MESOS_ROOT=/mesos -v build:/build containersol/mesos-modules-dev:14.04 sh -c 'cd /build ; cmake . ; make ; ./build/test_flocker_isolator'
CMake Error: The source directory "/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.
sh: 1: ./build/test_flocker_isolator: not found
[root@slave-1 ~]# docker run -it --env MESOS_ROOT=/mesos -v ./build:/build containersol/mesos-modules-dev:14.04 sh -c 'cd /build ; cmake . ; make ; ./build/test_flocker_isolator'
docker: Error response from daemon: create ./build: volume name invalid: "./build" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed.
See 'docker run --help'.
The text was updated successfully, but these errors were encountered: