Make bash shell as default in Docker Healthcheck command
€8-30 EUR
진행 중
게시됨 거의 2년 전
€8-30 EUR
제출할때 지불됩니다
I have a yaml file for docker compose where I use Healthcheck feature as follows:
healthcheck:
test: ["CMD-SHELL", "bash -c 'source [login to view URL] && XYZ topic list | grep -o 'XXX' || exit 1'"]
interval: 2s
timeout: 30s
retries: 10
start_period: 10s
How can I get rid of ["CMD-SHELL", "bash -c
so that the code looks like i.e. bash is the default shell in container :
test: source [login to view URL] && XYZ topic list | grep -o 'XXX' || exit 1
interval: 2s
timeout: 30s
retries: 10
start_period: 10s
I can help you to update the command instantly. Let's do it.
I am available to start the work immediately.
Please let me know if you have any questions in the chat.
Thank you
Sij
Greetings
This is Ahmed. I am a full time freelance Engineer. I can do this task for you with high quality.
I will wait for your reply to complete your task within a given time.
Thanks & Regards
Ahmed.