Skip to content

Updating install_docker.sh script#2661

Draft
lunardunno wants to merge 20 commits into
devfrom
feat/implementing_docker_service_checking
Draft

Updating install_docker.sh script#2661
lunardunno wants to merge 20 commits into
devfrom
feat/implementing_docker_service_checking

Conversation

@lunardunno
Copy link
Copy Markdown
Collaborator

Implementing a Docker service status check.
The Docker reinstall step has been removed due to the implementation of Docker service checking. Implementing locale checking and assignment.
Implementation of execution of some actions through commands with sudo, to reduce delays caused by differences in the values ​​of the PATH variable for the root user and the user included in the sudo group.
Implementation of a verification step for the install containerization app to avoid installing unsupported podman-docker applications.

lunardunno added 20 commits May 27, 2026 16:06
Implementing a Docker service status check.
The Docker reinstall step has been removed due to the implementation of Docker service checking.
Implementing locale checking and assignment.
Implementation of execution of some actions through commands with sudo, to reduce delays caused by differences in the values ​​of the PATH variable for the root user and the user included in the sudo group.
Implementation of a verification step for the install containerization app to avoid installing unsupported podman-docker applications.
Adding handling for "Containerization app is not supported" and "Service status not active" messages to the controller.
Error Codes added for ServerContainerizationNotSupported & DockerServiceNotActive
The messages output for processing by the server controller have been changed: "Container runtime is not supported" and "Container runtime service is not running."
The redundant check and output of the "Packet manager not found" message, as well as the interruption of script execution, have been eliminated, as this situation is handled by the server controller at an earlier stage (check_server_is_busy.sh) and only there.
Added installation of the whish package if it is missing from the OS, for subsequent re-execution of the install_docker.sh and check_server_is_busy.sh scripts.
Implemented an alternative method for detecting the package manager if the whish package is initially missing from the OS.
The algorithm for setting the $pm variable (package manager) has been changed.
The phrases processed by the server controller have been changed.
Switching to using "command -v" instead of "which".
Run the "which" with sudo to check the $LOCK_CMD variable in case the user's PATH variable has incorrect values ​​if the user is not root and is only a member of the sudo group.
"sudo:" with "not found" instead of "command not found"
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.

1 participant