v1: Docker is failing to install leading to infinite loop on wait
seve opened this issue · 13 comments
It looks like a file isn't being found during docker installation leading to a installation failure. When the action goes to boot docker, it infinitely waits.
Significant Portion of Log:
+ sudo /bin/cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools
+ sudo /bin/cp /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist /Library/LaunchDaemons/
cp: /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist: No such file or directory
+ sudo /bin/chmod 544 /Library/PrivilegedHelperTools/com.docker.vmnetd
+ sudo /bin/chmod 644 /Library/LaunchDaemons/com.docker.vmnetd.plist
chmod: /Library/LaunchDaemons/com.docker.vmnetd.plist: No such file or directory
+ sudo /bin/launchctl load /Library/LaunchDaemons/com.docker.vmnetd.plist
/Library/LaunchDaemons/com.docker.vmnetd.plist: No such file or directory
+ open -g /Applications/Docker.app
+ sleep 60
+ docker info
bash: line 12: docker: command not found
Entire Log:
Run docker-practice/actions-setup-docker@v1
with:
docker_version: 20.10
docker_nightly_version: snapshot-20210202
docker_channel: stable
docker_buildx: true
docker_cli_experimental: enabled
docker_daemon_json: {
"experimental": true
}
env:
AWS_DEFAULT_REGION: us-west-2
AWS_REGION: us-west-2
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
AWS_SESSION_TOKEN: ***
pythonLocation: /Users/runner/hostedtoolcache/Python/3.7.10/x64
install docker
/usr/local/bin/brew update
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
Updated 6 taps (homebrew/core, homebrew/cask, homebrew/bundle, homebrew/services, mongodb/brew and aws/tap).
==> New Formulae
autorestic
aws/tap/aws-sam-cli-beta-cdk
fabric-installer
gtksourceview5
imath
ki
lefthook
lm-sensors
nox
oksh
openj9
pgxnclient
qodem
revive
seqkit
stp
sysstat
tssh
virtualenvwrapper
webhook
xfig
==> Updated Formulae
abcmidi
abseil
abyss
acl2
activemq
adwaita-icon-theme
akamai
aliyun-cli
alluxio
alot
amp
angular-cli
ansible
aom
apache-arrow
apache-arrow-glib
apache-flink
apngasm
apollo-cli
appium
arangodb
artifactory
asciidoctorj
astrometry-net
atlantis
auditbeat
autopep8
autorest
aws-cdk
aws-iam-authenticator
awscli
awscli@1
babel
babeld
bazelisk
bear
benthos
bibtexconv
bind
bitwise
black
boost
bpytop
breezy
broot
buildkit
bundletool
calc
calicoctl
cargo-audit
cargo-watch
carla
cartridge-cli
cbmc
cdk
cern-ndiff
cfn-lint
cfssl
cglm
cgns
chakra
cheat
checkbashisms
checkov
checkstyle
chezmoi
circleci
clingo
clojure-lsp
cloud-nuke
cloudflare-wrangler
cmake
cointop
collector-sidecar
comby
commandbox
composer
conan
condure
contentful-cli
copilot
cortex
couchdb
cpl
cpr
crane
croc
crowdin
csvq
cubejs-cli
dartsim
datalad
dbdeployer
deno
dependency-check
devdash
devspace
diffoscope
dmd
dnsperf
docfx
docutils
dolt
dosbox-x
druid
dua-cli
duplicity
dvc
dwdiff
dylibbundler
earthly
eksctl
emscripten
enzyme
erlang
eslint
ethereum
exploitdb
extra-cmake-modules
fastlane
faudio
fdk-aac
fennel
fetchmail
ffmpeg
ffuf
fig2dev
file-roller
filebeat
findomain
fizz
flank
flow
flow-cli
flux
flyway
folly
fonttools
forge
fortio
fq
freeciv
freeling
freetds
frugal
gallery-dl
gdal
gdb
gdu
geph4
ghz
ghz-web
git-annex
git-cinnabar
git-quick-stats
git-review
gitleaks
gitmoji
gitui
gitversion
gjs
glances
glooctl
glslang
gmsh
gnome-autoar
gnunet
gopass
gostatic
groovysdk
grpc
grpcurl
gtk4
guile
harfbuzz
heartbeat
helmsman
hfstospell
hlint
howdoi
hsd
hugo
iam-policy-json-to-terraform
icu4c
igraph
imagemagick
imagemagick@6
imgproxy
include-what-you-use
indicators
influxdb
infracost
inframap
innotop
internetarchive
inxi
ipython
ispc
istioctl
jack
janet
jc
jenkins
jfrog-cli
jpeg-turbo
jrnl
juju
just
jxrlib
k3d
k9s
karchive
kdoctools
keptn
khal
ki18n
kitchen-sync
knock
knot-resolver
kotlin
kube-linter
kubebuilder
kubecfg
kubergrunt
kubevela
kyma-cli
ldc
lean
less
libass
libcdr
libcouchbase
libdrm
libepoxy
libhandy
libical
liblcf
liblouis
libmaxminddb
libmicrohttpd
libmspub
libofx
libosmium
libphonenumber
libpsl
librsvg
libsvm
libtcod
libvisio
libxkbcommon
libxlsxwriter
liquibase
liquidctl
lldpd
llvm@11
localstack
logstash
logtalk
macchina
mame
mapnik
mapserver
mavsdk
maxima
mdbtools
mercurial
meson
metabase
metricbeat
micronaut
micropython
minio
minio-mc
mongodb/brew/mongodb-community
mongodb/brew/mongosh
monitoring-plugins
moto
mpd
mpich
mtools
muffet
mujs
mx
n
name-that-hash
nano
nativefier
ncmpcpp
neo4j
newrelic-cli
nfpm
nim
node
node-build
node-sass
node@10
node@12
node@14
nodebrew
notmuch
nuclei
nushell
oauth2_proxy
ocrmypdf
oha
okteto
onednn
opa
open-mpi
openblas
openrct2
openttd
operator-sdk
or-tools
orientdb
ortp
pacapt
packetbeat
pazpar2
pcb2gcode
pdftoipe
pdm
php
php-cs-fixer
php@7.2
php@7.3
php@7.4
phpmd
phpstan
picard-tools
pipx
plantuml
pmd
pngcheck
pngquant
pnpm
poppler
postgresql
postgresql@10
postgresql@11
postgresql@12
prestodb
pspg
pumba
pyenv
pylint
python@3.7
python@3.8
qmmp
qrcp
qt
quex
rabbitmq
rakudo-star
rancher-cli
raylib
rclone
rdkit
re-flex
reorder-python-imports
repo
rgf
rke
rom-tools
rpm
rqlite
ruby@2.5
ruby@2.6
rust-analyzer
s2n
saml2aws
sbcl
sbt
sbtenv
scalaenv
scamper
scipy
semgrep
serverless
shairport-sync
sile
simgrid
skaffold
snakemake
sniffglue
snowpack
sonar-scanner
spotify-tui
sqlc
sqlite
srt
starship
staticcheck
stgit
stlink
strace
structurizr-cli
svtplay-dl
syncthing
t-rec
tarantool
taskwarrior-tui
tctl
tectonic
tektoncd-cli
telegraf
teleport
tepl
terracognita
terraform
terraform-docs
terraform-ls
terraform@0.11
terraform@0.12
terraform@0.13
terragrunt
terrascan
tfenv
tflint
tfsec
thanos
threadweaver
timg
tm
tomcat@7
translate-toolkit
triangle
truffle
tvnamer
twarc
txr
ugrep
urweb
v2ray
vagrant-completion
vala
vale
vapoursynth
vim
virustotal-cli
vitess
vte3
vtk
vulkan-headers
wangle
watchexec
wcslib
webdis
websocat
whistle
widelands
wireguard-go
wireguard-tools
xcb-proto
xclogparser
xorgproto
xplr
xtensor
yara
yaz
youtube-dl
yq
yubikey-agent
z.lua
zabbix
zebra
znc
zorba
zoxide
zsh-completions
zsh-vi-mode
==> New Casks
cryptonomic-galleon
fpc-laz
fpc-src-laz
hancom-word
hook
ilspy
invoker
irpf2021
jellyfin-media-player
recut
sbarex-qlmarkdown
shield
siyuan
specter
tabtopus
vitals
==> Updated Casks
115browser
1password-cli
5kplayer
8bitdo-ultimate-software
a-better-finder-attributes
accordance
acorn
activedock
adobe-air
adoptopenjdk
aerial
aircall
airfoil
alfaview
alfred
altair-graphql-client
amazon-workspaces
android-studio
another-redis-desktop-manager
anydo
appcode
arq
asciidocfx
atlauncher
audio-hijack
aural
avast-secure-browser
avocode
axe-edit-iii
backuploupe
badlion-client
banksiagui
batteries
bbedit
bdash
beaker-browser
bean
beatunes
betelguese
bigsur-cache-cleaner
bilimini
binance
bitcoin-core
bleunlock
blisk
blitz
blocs
blueharvest
bluej
bluejeans
bluewallet
bookends
boost-note
bootchamp
bootstrap-studio
brave-browser
burp-suite
buttercup
c0re100-qbittorrent
cacher
cakebrew
calendar-366
calibre
camo-studio
camtasia
canva
caprine
captin
caramba-switcher
carbon-copy-cloner
catch
chalk
chatology
cheatsheet
checkra1n
chia
chirp
chromium
cinderella
clash-for-windows
cleanmymac
clicker-for-youtube
clion
cloudapp
cmake
codelite
cog
commandq
connectiq
copyq
cryptomator
cutter
dash
datagrip
dbeaver-community
dbvisualizer
dcp-o-matic-player
dcv-viewer
debookee
devbook
devolo-cockpit
devonagent
devonthink
devutils
dingtalk
disk-drill
diskcatalogmaker
docker
downie
dropbox
dropbox-passwords
droplr
dropshare
drovio
duplicati
dynobase
eaglefiler
electerm
electron
electronmail
electrumsv
element
eloston-chromium
enpass
epic-games
epichrome
etrecheckpro
eul
evernote
exist-db
exodus
expandrive
extraterm
f-bar
fantastical
farrago
ff-works
find-any-file
fing
firefly
flic
flipper
flock
flutter
fluxcenter
fontbase
foobar2000
free42-binary
free42-decimal
freecad
futubull
gdat
gdlauncher
geekbench
genymotion
geogebra
geotag-photos-pro
geph
get-iplayer-automator
github
glyphs
godot-mono
goodsync
google-chrome
gpxsee
grandtotal
grid
grids
guitar-pro
hammerspoon
helo
hey
hookshot
http-toolkit
ibackup-viewer
ibm-cloud-cli
iconjar
igdm
imazing
imdone
impactor
insomnia
insync
intellij-idea
intellij-idea-ce
ipfs
ipsecuritas
isubtitle
iterm2
ivpn
izip
jami
jaxx-liberty
jcryptool
jdk-mission-control
josm
julia
kdiff3
keep-it
keka
kext-updater
keyboard-maestro
kitty
knotes
kodelife
kyokan-bob
laravel-kit
lastpass
latexit
launchcontrol
lazarus
ledger-live
lens
liclipse
lidarr
lightkey
lilypond
lingon-x
listen1
loaf
logisim
logos
loom
lunar-client
lx-music
macupdater
mailbutler
mailplane
maltego
marked
marvel
mblock
mcreator
mediaelch
mediahuman-youtube-downloader
meetingbar
megasync
melonds
mendeley-reference-manager
menuwhere
metabase
metasploit
microsoft-azure-storage-explorer
microsoft-edge
microsoft-teams
middle
milanote
milkman
miniforge
miro
missive
mochi
modern-csv
moom
mubu
mudlet
mullvadvpn
multi
multitouch
munki
musicbrainz-picard
mymonero
name-mangler
natron
nault
navicat-data-modeler
navicat-data-modeler-essentials
neat-reader
neo4j
netron
nextcloud
ngrok
nheko
nordlocker
nordpass
nordvpn
nosql-workbench
nosqlbooster-for-mongodb
nova
nucleo
nwjs
ocenaudio
odrive
one-switch
openaudible
opencore-configurator
openphone
openra
openttd
opera
opera-gx
operadriver
operator
opgg
oracle-jdk
oracle-jdk-javadoc
origami-studio
orka
osquery
outline
outline-manager
packetsender
panoply
path-finder
pd
pdfsam-basic
permute
pgadmin4
photosweeper-x
phpstorm
plex
plex-media-server
poedit
polycom-realpresence
pomello
popclip
popo
postman
power-manager
powerphotos
pragli
prince
principle
proclaim
propresenter
protopie
proxifier
publii
purei-play
pushplaylabs-sidekick
pycharm-ce-with-anaconda-plugin
pycharm-edu
qbittorrent
qgis
qownnotes
qt3dstudio
quip
radicle-upstream
radio-silence
raiderio
raven-reader
raycast
raze
react-native-debugger
remember-the-milk
remote-desktop-manager
remote-desktop-manager-free
repetier-host
retroarch-metal
reunion
rhino
rider
rightfont
river-sparkle
roboform
rotki
rubymine
runway
script-debugger
seamonkey
second-life-viewer
securesafe
segger-embedded-studio-for-arm
sensei
sentinel
session
setapp
shimo
shotcut
sia-ui
sipgate-softphone
sketchbook
slack
slippi-dolphin
smartgit
smartsynchronize
smultron
softorino-youtube-converter
solvespace
sonic-visualiser
sonobus
soulver
sound-control
spark-ar-studio
spatterlight
spectx
speedify
spideroakone
splashtop-business
spotify
spotter
squirrel
standard-notes
starsector
stats
stella
stoplight-studio
stremio
stretchly
studiolinkstandalone
sublime-merge
surfshark
surge
sweet-home3d
syncovery
synergy
synology-note-station-client
syntax-highlight
tableau
tableau-public
tableau-reader
tagspaces
teamviewer
telegram
telegram-desktop
tempo
tencent-lemon
tencent-meeting
terminus
termius
texshop
textexpander
thedesk
thunder
tigervnc-viewer
timeular
tinkerwell
tiny-player
tinymediamanager
toinane-colorpicker
toptracker
torguard
tortoisehg
tradingview
trainerroad
transmit
trilium-notes
tripmode
tuple
tutanota
twobird
typeface
typora
understand
unity-hub
usage
usenapp
utm
vagrant
valentina-studio
vanilla
vellum
versions
videofusion
vienna
virtualbox
virtualbox-extension-pack
virtualhere
virtualhereserver
viscosity
visual-studio
vivaldi
volanta
vrew
vuescan
vv
warzone-2100
waterfox
waterfox-classic
wavebox
webcatalog
wechat
wechatwebdevtools
whatroute
whatsapp
wickrme
wifi-explorer
wireshark-chmodbpf
workflowy
workspaces
wowup
writemapper
xamarin-ios
xampp
xmplify
xpra
xquartz
yakyak
yam-display
yate
yesplaymusic
yinxiangbiji
youku
yt-music
zecwallet-lite
zerotier-one
zoho-workdrive
zoom
zoom-for-it-admins
zotero
zulu
zy-player
==> Deleted Casks
clipbuddy
cliqz
cuteclips
duckstation
fpcsrc
hubic
lingo
netbeans-cpp
netbeans-java-ee
netbeans-java-se
nndd
swift-explorer
tracks-live
transmit-disk
vrep
wakeonlan
You have 14 outdated formulae and 3 outdated casks installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
/usr/local/bin/brew install --cask docker
==> Downloading https://desktop.docker.com/mac/stable/amd64/63878/Docker.dmg
==> Installing Cask docker
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Moving App 'Docker.app' to '/Applications/Docker.app'
🍺 docker was successfully installed!
/bin/mkdir -p /Users/runner/.docker
show daemon json content
/usr/bin/xattr -d -r com.apple.quarantine /Applications/Docker.app
start docker
/usr/bin/sudo bash -c
set -x
sudo /bin/cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools
sudo /bin/cp /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist /Library/LaunchDaemons/
sudo /bin/chmod 544 /Library/PrivilegedHelperTools/com.docker.vmnetd
sudo /bin/chmod 644 /Library/LaunchDaemons/com.docker.vmnetd.plist
sudo /bin/launchctl load /Library/LaunchDaemons/com.docker.vmnetd.plist
open -g /Applications/Docker.app || exit
sleep 60
docker info > /dev/null || true
sleep 30
docker info > /dev/null || true
# Wait for the server to start up, if applicable.
i=0
while ! docker system info &>/dev/null; do
(( i++ == 0 )) && printf %s '-- Waiting for Docker to finish starting up...' || printf '.'
sleep 1
done
(( i )) && printf '
'
echo "-- Docker is ready."
+ sudo /bin/cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools
+ sudo /bin/cp /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist /Library/LaunchDaemons/
cp: /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist: No such file or directory
+ sudo /bin/chmod 544 /Library/PrivilegedHelperTools/com.docker.vmnetd
+ sudo /bin/chmod 644 /Library/LaunchDaemons/com.docker.vmnetd.plist
chmod: /Library/LaunchDaemons/com.docker.vmnetd.plist: No such file or directory
+ sudo /bin/launchctl load /Library/LaunchDaemons/com.docker.vmnetd.plist
/Library/LaunchDaemons/com.docker.vmnetd.plist: No such file or directory
+ open -g /Applications/Docker.app
+ sleep 60
+ docker info
bash: line 12: docker: command not found
+ true
+ sleep 30
+ docker info
bash: line 16: docker: command not found
+ true
+ i=0
+ docker system info
+ (( i++ == 0 ))
+ printf %s '-- Waiting for Docker to finish starting up...'
+ sleep 1
-- Waiting for Docker to finish starting up...+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
.+ sleep 1
+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.
You can writing some word in a comment to trigger action:
/translate-title
It looks like there was a change somewhere in the newer versions of the Docker client that's distributed. I did master...nickvanw:master to work around it for now (manually installing a previous release), which seems to work for me.
Hope that's helpful!
now work!
We (https://github.com/dapr) are having this issue also, for example here:
https://github.com/dapr/cli/actions/runs/936757774/workflow
@khs1994 can you please update this Github Action for everyone? Or perhaps @nickvanw could make a pull request that you can merge?
Can you please reopen this issue?
@nickvanw your changes do not resolve the problem for me. After open -g /Applications/Docker.app
the subsequent calls to docker
cannot find the command it seems. Same error message as before.
rerelease v1, now work
谢谢你帮我🙏
@khs1994 unfortunately I am still getting:
echo "-- Docker is ready."
+ sudo /bin/cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools
+ sudo /bin/cp /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist /Library/LaunchDaemons/
cp: /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist: No such file or directory
+ sudo /bin/chmod 544 /Library/PrivilegedHelperTools/com.docker.vmnetd
+ sudo /bin/chmod 644 /Library/LaunchDaemons/com.docker.vmnetd.plist
chmod: /Library/LaunchDaemons/com.docker.vmnetd.plist: No such file or directory
+ sudo /bin/launchctl load /Library/LaunchDaemons/com.docker.vmnetd.plist
/Library/LaunchDaemons/com.docker.vmnetd.plist: No such file or directory
+ open -g /Applications/Docker.app
+ sleep 60
+ docker info
bash: line 12: docker: command not found
+ true
+ sleep 30
+ docker info
bash: line 16: docker: command not found
+ true
+ i=0
+ docker system info
+ (( i++ == 0 ))
+ printf %s '-- Waiting for Docker to finish starting up...'
+ sleep 1
-- Waiting for Docker to finish starting up...+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
+ sleep 1
.+ docker system info
+ (( i++ == 0 ))
+ printf .
.+ sleep 1
+ docker system info
+ (( i++ == 0 ))
etc
It never finishes
@khs1994 perhaps there was a caching issue where it still used an older release given the version number didn't change. Anyways, thanks a lot for the fast response! Much appreciated!
It seems that this just happens again. Seems like I'm not the only one: https://github.com/dapr/cli/runs/3515980595?check_suite_focus=true.
now pin docker for mac 3.6.x