mapbox / robosat

Semantic segmentation on aerial and satellite imagery. Extracts features such as: buildings, parking lots, roads, water, clouds
MIT License
2.02k stars 382 forks source link

Can't run RoboSat docker image #174

Closed karkal6123 closed 5 years ago

karkal6123 commented 5 years ago

Hello all,

since the 1.2.0 release I am having issues with "Docker run" command - cannot run the container for RoboSat docker image at all. I can see the list with all robosat tools/ commands, however, accessing the application root doesn't work... Please have a look:

Docker_image_issue

Could you give me a hint, please?

I am running the Docker Desktop on Windows 10 Pro that uses Hyper-V's MobyLinuxVM.

With best wishes guys and looking forward to getting some help.

Karoline

jqtrde commented 5 years ago

@karkal6123, are you able to pass in specific commands?

# ie: does something like this work for you?
# note the `cover --help` commands at the end
docker run -it --rm -v $PWD:/data --ipc=host --network=host mapbox/robosat:latest-cpu cover --help

Your ls command makes me think you're attempting to ls from within the container, in which case you'll need to do something like:

$ docker run -it --rm -v $PWD:/data --ipc=host --network=host --entrypoint /bin/bash mapbox/robosat:latest-cpu
root@compuder:/usr/src/app# ls
config  docker  requirements.txt  robosat  rs

Hope that's helpful :tipping_hand_man:

karkal6123 commented 5 years ago

Thank you @jacquestardie !!!

Brilliant, it does work now.

Docker_image_issue_3

dakmatt commented 4 years ago

thanks, this work for me too