[ 
https://issues.apache.org/jira/browse/FLINK-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853693#comment-15853693
 ] 

ASF GitHub Bot commented on FLINK-5635:
---------------------------------------

Github user ex00 commented on the issue:

    https://github.com/apache/flink/pull/3205
  
    Really I didn't build Flink. Thanks @jgrier for  your comment. My case has 
been showing that documentation is needed :)
    
    I think next information will be useful for users who want run flink on 
docker machine of windows.
    Then I built image, i tried run docker-compose and I got next message
    ```
    $ docker-compose up -d
    Creating dockerflink_jobmanager_1
    ERROR: for jobmanager  Container command 'docker-entrypoint.sh' not found 
or does not exist.
    ```
    I tried execute docker-entrypoint.sh manually in container
    ```
    bash-4.3$ /opt/flink/bin/docker-entrypoint.sh
    bash: /opt/flink/bin/docker-entrypoint.sh: /bin/sh^M: bad interpreter: No 
such file or directory
    ```
    I changed line end format for docker-entrypoint.sh on Unix and after that 
docker-compose has started successfully. 



> Improve Docker tooling to make it easier to build images and launch Flink via 
> Docker tools
> ------------------------------------------------------------------------------------------
>
>                 Key: FLINK-5635
>                 URL: https://issues.apache.org/jira/browse/FLINK-5635
>             Project: Flink
>          Issue Type: Improvement
>          Components: Docker
>    Affects Versions: 1.2.0
>            Reporter: Jamie Grier
>            Assignee: Jamie Grier
>
> This is a bit of a catch-all ticket for general improvements to the Flink on 
> Docker experience.
> Things to improve:
>   - Make it possible to build a Docker image from your own flink-dist 
> directory as well as official releases.
>   - Make it possible to override the image name so a user can more easily 
> publish these images to their Docker repository
>   - Provide scripts that show how to properly run on Docker Swarm or similar 
> environments with overlay networking (Kubernetes) without using host 
> networking.
>   - Log to stdout rather than to files.
>   - Work properly with docker-compose for local deployment as well as 
> production deployments (Swarm/k8s)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to