Skip to content

Commit

Permalink
build: Remove -t=1 from docker rm, because that's actually a Podman-o…
Browse files Browse the repository at this point in the history
…nly option, which is not available on Docker
  • Loading branch information
vorburger committed Oct 19, 2024
1 parent 377fbd8 commit 7869ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/sshd/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd "$(dirname "$0")"

shellcheck add-uid-key

docker rm -f -t=1 test-sshd || true
docker rm -f test-sshd || true
docker run -d -p 2222 --name test-sshd sshd
PORT="$(docker port test-sshd | head -n1 | sed 's/2222\/tcp -> 0.0.0.0://')"

Expand Down

0 comments on commit 7869ebd

Please sign in to comment.