run shell script in docker build
#!/bin/bash
set -x
while $1
do
echo "Press [CTRL+C] to stop.."
sleep 5
echo "My second and third argument is $2 & $3"
done
run shell script in docker build
#!/bin/bash
set -x
while $1
do
echo "Press [CTRL+C] to stop.."
sleep 5
echo "My second and third argument is $2 & $3"
done
docker BUILD commands
docker image prune
command to build docker file
// Make sure you are in the same dictionary where you have saved your Dockerfile
command is:
docker build .
docker BUILD commands
# command to execute
command: bundle exec thin -p 3000
command: [bundle, exec, thin, -p, 3000]
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us