Skip to content

Commit

Permalink
Merge pull request #78 from aaradhak/toolboxarcreate
Browse files Browse the repository at this point in the history
Bug 2093040: Unable to start `toolbox` on RHCOS using `podman` 4.0
  • Loading branch information
aaradhak authored Jun 13, 2022
2 parents 4af6180 + 3d91d1b commit 15bc604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhcos-toolbox
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ run() {
fi

local state=$(container_state)
if [[ "${state}" == configured ]] || [[ "${state}" == exited ]] || [[ "${state}" == stopped ]]; then
if [[ "${state}" == configured ]] || [[ "${state}" == created ]] || [[ "${state}" == exited ]] || [[ "${state}" == stopped ]]; then
container_start
elif [[ "${state}" != running ]]; then
echo "Container '${TOOLBOX_NAME}' in unknown state: '$state'"
Expand Down

0 comments on commit 15bc604

Please sign in to comment.