[
https://issues.apache.org/jira/browse/FLINK-18618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160303#comment-17160303
]
Dian Fu edited comment on FLINK-18618 at 7/18/20, 7:13 AM:
-----------------------------------------------------------
I have updated the script *setup_docker.sh* a bit to restart the docker daemon
after installing docker-ce and the tests have passed:
{code}
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
sudo service docker restart
{code}
[https://dev.azure.com/dianfu/Flink/_build/results?buildId=107&view=logs&j=1f3ed471-1849-5d3c-a34c-19792af4ad16&t=0d2e35fc-a330-5cf2-a012-7267e2667b1d]
So we have two choices:
- Don't replace moby engine with docker-ce
- Add `sudo service docker restart` after installing docker-ce
+1 to dropping the docker-ce installation if there is no special reason for it.
We can fall back to docker-ce if there are any problems.
was (Author: dian.fu):
I have updated the script *setup_docker.sh* a bit to restart the docker daemon
after installing docker-ce and the tests have passed:
{code}
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
sudo service docker restart
{code}
[https://dev.azure.com/dianfu/Flink/_build/results?buildId=107&view=logs&j=1f3ed471-1849-5d3c-a34c-19792af4ad16&t=0d2e35fc-a330-5cf2-a012-7267e2667b1d]
So we have two choices:
- Don't replace moby engine with docker-ce
- Add `sudo service docker restart` after installing docker-ce
> Docker e2e tests are failing on CI
> ----------------------------------
>
> Key: FLINK-18618
> URL: https://issues.apache.org/jira/browse/FLINK-18618
> Project: Flink
> Issue Type: Improvement
> Components: Build System / Azure Pipelines
> Affects Versions: 1.11.0, 1.12.0
> Reporter: Chesnay Schepler
> Priority: Major
> Fix For: 1.12.0, 1.11.2
>
>
> {code}
> Got permission denied while trying to connect to the Docker daemon socket at
> unix:///var/run/docker.sock: Post
> http://%2Fvar%2Frun%2Fdocker.sock/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=host&nocache=1&rm=1&session=z0y5c0io3wt7m3uqfb7zo7uds&shmsize=0&t=test_docker_embedded_job&target=&ulimits=null&version=1:
> dial unix /var/run/docker.sock: connect: permission denied
> {code}
> Will have to wait for [~rmetzger] to get back.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)