Skip to content

Fix docker_dev_setup script on Linux: status check#2545

Open
kevinroleke wants to merge 1 commit into
instructure:masterfrom
kevinroleke:master
Open

Fix docker_dev_setup script on Linux: status check#2545
kevinroleke wants to merge 1 commit into
instructure:masterfrom
kevinroleke:master

Conversation

@kevinroleke

Copy link
Copy Markdown

On systemd machines without the service command available, docker will always appear to not be running.

The file script/common/os/linux/impl.sh will attempt to run the following command to check the status of docker:

sudo systemctl docker status # this returns an error, always--the arguments are in the wrong order

I suggest we use docker info instead. This command will return an error code if docker is inactive and success if docker is active. Alternatively, the arguments should be properly arranged for service vs systemctl.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


kevin roleke seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@oshanz

oshanz commented May 11, 2026

Copy link
Copy Markdown

openSUSE Tumbleweed

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants