mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
start and enable docker.service if not running/enabled (#1140)
This commit is contained in:
committed by
GitHub
parent
8d0d6f85cc
commit
21c6325fca
@@ -27,6 +27,10 @@ else
|
|||||||
echo "Docker ($docker_package) is already installed"
|
echo "Docker ($docker_package) is already installed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Enable docker.service
|
||||||
|
systemctl is-active --quiet docker.service || systemctl start docker.service
|
||||||
|
systemctl is-enabled --quiet docker.service || systemctl enable docker.service
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||||
echo "Checking the docker-moby and moby-buildx"
|
echo "Checking the docker-moby and moby-buildx"
|
||||||
|
|||||||
Reference in New Issue
Block a user