Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Podman CLI check #5

Merged
merged 2 commits into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ Here is a course for learning (or brushing up) on working from the linux command
kubectl version
```

=== "CRC (MiniShift)"
=== "OpenShift Local"

Make sure CRC is installed. Check out the [CRC Page](https://access.redhat.com/documentation/en-us/red_hat_codeready_containers/1.0/html/getting_started_guide/getting-started-with-codeready-containers_gsg)
Make sure OpenShift Local is installed. Check out the [OpenShift Local](https://docs.redhat.com/en/documentation/red_hat_openshift_local/2.44/html/getting_started_guide/index){target="_blank"} Page.

** Setup CRC **
```
Expand Down
17 changes: 15 additions & 2 deletions docs/scripts/system-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,18 @@ else
printf 'For Mac: https://docs.docker.com/docker-for-mac/install/ \n'
printf 'For Linux Users: https://docs.docker.com/engine/install/ubuntu/ \n'
printf 'For Windows: https://docs.docker.com/docker-for-windows/install/ \n \n'
fi

if hash podman 2>/dev/null
then
printf '\xE2\x9C\x85 Podman CLI \n'
else
printf '\xE2\x9D\x8C Podman CLI \n \n'

printf 'Download the Podman CLI using the links below: \n'
printf 'For Mac: https://podman.io/docs/installation#macos \n'
printf 'For Linux Users: https://podman.io/docs/installation#linux-distributions \n'
printf 'For Windows: https://podman.io/docs/installation#windows \n \n'
fi

if hash kubectl 2>/dev/null
Expand Down Expand Up @@ -93,5 +104,7 @@ else
printf '\xE2\x9D\x8C Argo CLI \n \n'

printf 'Download the Argo CLI using the links below: \n'
printf 'For All Users: https://argoproj.github.io/argo-cd/cli_installation/ \n \n'
fi
printf 'For All Users: https://argo-cd.readthedocs.io/en/stable/cli_installation/ \n \n'
fi

printf " \nInstall either Docker or Podman, it's not necessary to install both\n"