Как я могу поддерживать работу контейнера
$ sudo docker run busybox sleep infinity
Kevin Thomas
$ sudo docker run busybox sleep infinity
# to keep the container running and not exit directly
set -x
while $1
do
echo "Press [CTRL+C] to stop.."
sleep 5
echo "My second and third argument is $2 & $3"
done