Open achave11-ucsc opened 4 months ago
Assignee to monitor resolution of upstream issue.
Assignee to attempt the proposed workaround.
Assignee to attempt the proposed workaround.
The workaround was unsuccessful. Until this is resolved in a future version of act
, I'll be using v0.2.59.
$ cat ~/.actrc
--container-daemon-socket="unix:///Users/daniel/.docker/run/docker.sock"
$ ll /var/run/docker.sock ~/.docker/run/docker.sock
srwxr-xr-x 1 daniel staff 0 Jul 29 14:26 /Users/daniel/.docker/run/docker.sock=
lrwxr-xr-x@ 1 root daemon 37 Jul 23 09:15 /var/run/docker.sock@ -> /Users/daniel/.docker/run/docker.sock
$ make start_registry
docker run \
--rm \
--detach \
--publish 5000:5000 \
--name registry registry:2.7
baaca1a776197b23f135399b2bfa343eaf5340910545ed63f841f10ac13a9456
$ make images
DOCKER_HOST=$(docker context inspect --format '{{.Endpoints.docker.Host}}') \
act \
--env azul_docker_registry="localhost:5000/" \
--remote-name origin \
push
INFO[0000] Using docker host 'unix:///Users/daniel/.docker/run/docker.sock', and daemon socket '"unix:///Users/daniel/.docker/run/docker.sock"'
WARN ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so, try running it with '--container-architecture linux/amd64'. ⚠
[Docker/build] 🚀 Start image=catthehacker/ubuntu:act-latest
[Docker/build] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[Docker/build] using DockerAuthConfig authentication for docker pull
[Docker/build] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
Error: failed to create container: 'Error response from daemon: invalid mode: /var/run/docker.sock'
make: *** [images] Error 1
… when locally building the azul-docker-pycharm & azul-docker-elasticsearch images for testing.
It seems to be a regression introduced in the latest version of
act
.