gaorongchao edited a comment on issue #6267: Incubator-superset container 
fails: exec user process caused "no such file or directory"
URL: 
https://github.com/apache/incubator-superset/issues/6267#issuecomment-486069484
 
 
   I try one possible solution.
   when your user docker in windows:
   * `git config --global core.autocrlf input` 
   this made the file end with LF when your git clone in windows.
   
   * bulid superset by hand, `docker build -f ./contrib/docker/Dockerfile 
-t="supset-1" .` this is run in root.
   and You will get the build image, such like c25ef5300307
   * modify `./contrib/docker/docker-compose.yml`
   ```
     superset:
       image: c25ef5300307
       # build:
       #   context: ../../
       #   dockerfile: contrib/docker/Dockerfile
       restart: unless-stopped
       environment:
   ......
   ```
   * finally:
   `cd /contrib/docker`
   `docker-compose run --rm superset ./docker-init.sh`
   `docker-compose up`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to