Call/text us anytime to book a tour - (323) 639-7228!
The Intersection
of Gateway and
Getaway.
Dockerfile run bash script
Dockerfile run bash script. You will need to add the following commands to get bash: RUN apk update && apk add bash If you're using Alpine 3. 8. So that it starts the sginit. I have 'install. (Thanks to comment from @sprkysnrky) License. Open the Dockerfile you created earlier in your preferred text editor. I do the final parts of this through a bash script called run-all. Sep 3, 2015 · RUN_bash_script ('/opt/set_repo. e. Jan 1, 2016 · Then, in your Dockerfile, copy your bash file to your image, and use the ENTRYPOINT instruction for running the file when container is being created: COPY script. sh that I run through CMD in my Dockerfile. In order to do this with a Dockerfile, though, we need a program which will conditionally run docker build and then docker run the resulting image. Also, by setting --entrypoint '' , you are overriding the default entrypoint set on the Dockerfile. gz / CMD ["bash"] Can you please help me clarifying the following: What exactly CMD["bash"] does? I can see no difference by removing it (e. @user_mda A container can only run one command. This allows the application to receive any Unix signals sent to the container. bash_profile to make it available in the Terminal. sh"] Apr 19, 2022 · In either case, you are just running a container from the desired image and then running either /bin/bash or sh with the -c flag, that allows you to define the command to run from a string. FROM busybox RUN echo This is the A > a &&\ echo This is the B > b &&\ echo This is the C > c Implement the loop inside a independent bash script; run script in Dockerfile. 12' To do that, you need to copy the script inside using the COPY command in the Docker file, e. 0. We need to copy a Bash script from the host machine to the container and then to execute this script in the container, but from the host machine. Apr 27, 2017 · From some reason most of the answers here didn't help me (maybe it's related to my FROM image in the Dockerfile) So I preferred to create a bash script in my workspace combined with --build-arg in order to handle if statement while Docker build by checking if the argument is empty or not Dec 6, 2017 · You will need to edit the entrypoint script or run script of your ES image. sh"] In the docker-entrypoint. 5 ADD run. I could have ran it along with the container, but I Jan 10, 2019 · In case you want to run many commands at entrypoint, the best idea is to create a bash file. sh should be run when you start the container Jun 15, 2022 · はじめにDockerfile を作成する際にFROM, RUN, CMD を利用することがあります。それぞれがどんな役割を担っているのか復習も含め整理していきます。 Dec 3, 2021 · In order to tell MYSQL container to run that script once it starts you can either mount the script into the image's /docker-entrypoint-initdb. CMD ["sh", ". Aug 8, 2017 · You can use the entrypoint to run the startup script. Start an app container. Feb 8, 2019 · In Dockerfile I have defined an entrypoint:. I would like to execute this script only on the first start of a container. and your docker file will look like this Dec 12, 2019 · Creating and running the Bash script. /script. When applying the shell form, you run commands in the default /bin/sh -c shell for Linux and ["cmd", "/S", "/C"] for Windows. 04 FROM ubuntu:20. So what you need to do is below. I'm using FROM nginx:1. Using sudo inside the docker fails because sudo is not installed, there is no need to use sudo inside the docker because all of the commands inside the docker run as user root. I have to invoke a shell script that takes command line arguments through a docker container. sh"] Then build it and run it like you normally would with Mar 29, 2019 · Step 12/15 : RUN go version ---> Running in b8b9d08ef9c3 go version go1. Apr 30, 2019 · Use an entrypoint script. So when I run the docker image its the process run as expected . So you can. Jun 9, 2021 · The bash script is #!/bin/bash python3 -m scripts. sh) as Entrypoint. Dec 3, 2020 · This is called the shebang, and the bash scripts I use start with one: #!/usr/bin/env bash. For more information, see the ENTRYPOINT reference. sh like this #!/bin/bash mkdir /root/. By parsing the Dockerfile with a tool such as dockerfile-parse you could run the individual RUN commands, but this would not replicate the Dockerfile's output. Mar 26, 2018 · Typically, whatever is done in your setup. . d ssh defaults Jan 9, 2016 · So the RUN sudo service docker start command not will be executed on $ docker run. sh / RUN . sh inside Dockerfile). sh ; EXPOSE 8086 EXPOSE 8081 Jul 28, 2014 · For those interested in strict OCI reproducibility, the Dockerfile call SHELL doesn't seem to be in the OCIv1 specification, per podman 1. sh and then docker exec -it container . Example 1: FROM ubuntu:latest MAINTAINER [email protected] RUN apt-get update RUN apt-get install -y apache2. bashrc, many commands also need RUN /bin/bash -c '' in the same way as in CMD above, since sh shell is often not enough. Example: ENTRYPOINT "bin/startup. bash by CMD["bash" ,"start. Just like a Linux system runs one command (init or systemd) and it is then responsible for starting up everything else. Aug 6, 2023 · Dockerfile – Run Shell Script. sh ; CMD "cd /home/abc/; . Openvino Dockerfile exp and line that run the script. I've created a little helper command for building and running, in a single command. sh, so your file sayhello. Aug 28, 2019 · Let’s explain the meaning of each of the lines in the Dockerfile: On line 1 we are defining the base image. Apr 28, 2020 · Your script is written for bash, but you're running it with /bin/sh, which in the node:14. 1-alpine. Dockerfile. 15. Rest of your Dockerfile COPY myscript. 5 Now, I am trying to run the bash script (run. This is a dirty hack, not a solution. Thankfully docker build is already conditional and won’t rebuild anything unless necessary, so we can Alpine comes with ash as the default shell instead of bash. The ${!varname} syntax in particular is a bash-ism: If your Dockerfile names this script as its ENTRYPOINT then you want to pass the command you want to run as the “command” part. by adding in my local Dockerfile: CMD["echo", "hello"]) when starting a container. sh #5: LABEL – Feb 1, 2023 · Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand As you already know, several instructions have shell and exec forms. 0 image is not a link to bash. I tried overriding the entrypoint but didn't work. sh' By default (in a Linux Dockerfile), RUN <shell commands> is equivalent to sh -c '<shell commands>, and docker build will Run an arbitrary script in a bash script via Docker containers. sh expect "Some string that we want to wait for" # send newline, simulating pressing enter: send -- "\r" expect eof Copy the script into your image and run it: COPY my_expect_script . i've also tried docker run -d img chmod +x . sh` to build and run demo. dev Sep 22, 2015 · Docker's RUN doesn't start the command in a shell. It always fails with: /bin/sh: 1: COPY: not found or /bin/sh: 1: RUN: not found So, I think that the best course of action is to create a separate bash file which does the copies, something like: Dec 6, 2019 · docker-build-and-run. FROM busybox RUN echo This is the A > a RUN echo This is the B > b RUN echo This is the C > c Dockerfile. at the end of the docker build command tells Docker that it should look for the Dockerfile in the current directory. sh is the shell form of the RUN instruction, which will execute /bin/sh -c <command>. it can be only used by chmod command(i replaced chmod command before semicolon with echo and got "permission denied". Jul 11, 2016 · I am creating a Docker image. This script shall start at the start of the container and shall keep running (scripts expose certain ports which I need to expose). echo "Hello My Script" curl -x POST "some_api_which_returns_json" I have built the image using command docker build . 'docker-entrypoint. If you are running Ubuntu, Linux Mint, or any other Linux distribution, you are interacting with bash every time you use the terminal. It includes instructions on which base image to use, what files to copy into the container, and which commands to run Jan 26, 2017 · If I use the below-given Dockerfile and *sh script, RUN /bin/bash -c "source /docker-entrypoint. run-all. sh"]. sh"] See full list on warp. sh will begin with bin/sh #!/bin/sh Install Bash in your Alpine image, as you seem to expect Bash is present, with such a line in your Dockerfile: RUN apk add --no-cache --upgrade Aug 24, 2022 · RUN /Script. See `build_and_run_demo. Similarly, to run a different Python script, you can provide that script as the command. /test/testing. Run your container using the docker run command and specify the name of the image you just created: Sep 15, 2022 · Then modify your Dockerfile to copy the script, making sure that it's executable and then run it when the container starts (You might already be doing some of this). sh /root ENTRYPOINT bash "/root/my_script. FROM busybox WORKDIR /app COPY entrypoint. 04 as a base image. Sep 8, 2017 · Putting your commands in a file like that is arguably more manageable for other reasons: changes in your VCS history will be a little more clear, and for longer or more complex scripts you will probably find it easier to format things cleanly with the script in a separate file rather than embedded in your Dockerfile in a RUN command. Docker can build images automatically by reading the instructions from a Dockerfile. 4:. Jan 6, 2020 · I am trying to create a shell script for setting up a docker container. 5) and the logs do not show the expected output, when, for example, you run RUN ls. Now that you have an image, you can run the application in a container using the docker run command. In the following example, a helper script is copied into the container and run via ENTRYPOINT on container Mar 18, 2024 · If this is the case, we can create a shell script that contains all the necessary logic, and copy it to the container’s filesystem. sh #OR RUN /path/to/test. 04 #Download python FROM python:3. 0. ssh echo "Something" cd tmp ls May 18, 2017 · the thing is nothing uses it- i've tried to create new image and use this command- it returned with that err. To answer this question directly, the best way to do that is to write an ENTRYPOINT script in your Dockerfile that does whatever setup is needed, and then ends with exec "$@" to run the normal CMD (or whatever got passed on the command line). I need to run a sh script when on docker run using some env variables defined in the compose file but i cannot find the right syntax. It should be omitted when the containers is Try this add these lines in your docker file. sh in the background BEFORE starting ES process. I tried different ways but somehow unable to figure out how can this be achieved. It has nothing to with any existing container that is running. First script have to run client application, and the second run server app as background. Let’s say you have a Python script that you want to run inside the container. Sep 23, 2015 · I am new to the docker world. sh & This way the sginit. The two common modules for interacting with Sep 29, 2020 · RUN executes the command when you are building Image. Sep 13, 2023 · In a Dockerfile, the ENTRYPOINT keyword is reserved to indicate the command the container is going to run as soon as it is initiated. RUN pip install pandas RUN pip install rdkit-pypi CMD ["bash", "run. If you run your shell as just. That's because by default, a container is non-interactive, and a shell that runs in non-interactive mode expects a script to run. The first step in running a Bash script in a Docker container is to create the Dockerfile. Suppose you have written your bash script that needs to be invoked from python code. json, which is nothing but replaces some environment variables with actual values. sh /tmp CMD /tmp/start. This page describes the commands you can use in a Dockerfile. tar. A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. RUN sh my_expect_script Aug 1, 2018 · Dockerfile - FROM my-company-repo-java-base-image ADD my_script. Run multiple scripts in docker image. As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained). sh should be done with RUN instructions in the Dockerfile anyway? PS: Incidentally, standard_init_linux. How can I get an interactive bash shell that is running inside a docker container? Update: Minimal working Sep 8, 2019 · I am attempting to run a shell script by using docker-compose inside the docker container. Iterating bash commands inside docker Aug 9, 2020 · We have a Docker container, which we construct dynamically. ENTRYPOINT ["sh", ". New Linux users find it a bit challenging to understand the instructions of Dockerfile. I am using the Dockerfile to build the container environment and installing all dependancies. Basically, I'm setting up a web-server and a few daemons inside a Docker container. Jul 29, 2021 · If you need to run a shell script in Dockerfile. sh it will run: sudo chmod 755 upload. docker run --rm -it gcr. Apr 6, 2014 · Given: container based on ubuntu:13. to run the alpine image and execute the UNIX command cat in the contained environment: Sep 14, 2017 · Can you try to run this : docker exec -it CONTAINER_ID bash And then check the same command from inside the container ? – Wassim Dhif Commented Sep 14, 2017 at 8:52 Aug 23, 2015 · The question as I interpreted it is that it is intended for the host to run the script, not the container. Sep 2, 2017 · Your problem is that you are trying to run a script in a new container and that container then exists. You must call bash shell to start bash with . 3. Dockerfile reference. sh run" This will run your startup script and then start your tomcat server, and it won't exit the container. When a Docker container is run, it runs the ENTRYPOINT (only), passing the CMD as command-line parameters, and when the ENTRYPOINT completes the container exits. /opt/wherever/env # Then run the CMD exec "$@" COPY this script into your Dockerfile. The while true loop then runs indefinitely, printing the values of arg1, arg2, and arg3 in each iteration with a one-second delay between each iteration. bashrc because it is only sourced by interactive shells (bash -i) – tripleee Commented Nov 29, 2023 at 12:28 Mar 18, 2024 · $ cat Dockerfile #Dockerfile to create a JDK Alpine Image with bash FROM openjdk:8-jdk-alpine MAINTAINER baeldung. g. Mar 19, 2019 · Just highlight the answer given in the comments, which is probably the correct one if you are using a modern version of Docker (in my case v20. You could get to the same place by simply dropping the USER directive, allowing the entrypoint to run as root , and then have your ENTRYPOINT Jun 10, 2022 · This is the Dockerfile of Docker Ubuntu official image: FROM scratch ADD ubuntu-focal-oci-amd64-root. One common use case is running scripts or applications inside the Docker container. On Linux or Mac, you can add this to your ~/. /script1. After that, convert the container to image. May 12, 2022 · Im trying to execute bash file called start. sh - and i got Container container is not running Oct 16, 2021 · If you need the bash instead of the sh shell, as it is normal for many bash commands that you also need in a Dockerfile, you need to call the bash shell before using the command. bash"] in Dockerfile. My bash script is just Adding this to my Dockerfile RUN ["/bin/bash", "-c", "echo I am now using bash!"] But every time I try to run a container in interactive mode (docker run -it or attach to a running container (docker exec -it), I land in the sh shell. This Dockerfile creates a layer using the ubuntu:20. The point is that while im trying to run this command inside the container itself its success. sh" The entrypoint. To execute the script directly use the exec array form instead: RUN ["/Script. Or, like @Maroun's answer in comment, you can change your CMD to execute your bash script. Nov 6, 2018 · I have a custom package with install. When we write dockerfile we try to run the script sometimes, so the script must have proper rights to run, while docker creates an image. You need to call the shell explicitly: RUN bash -c 'nvm install 0. 10. Absent that, it will exit. When I create the image this command is not executed for some reason even though the bash file was of course copied properly in the dockerfile. Aug 5, 2023 · If that setuid attempt worked, your ENTRYPOINT script would be running as rootwhich means you would end up running catalina. Jan 17, 2019 · Hi i am wondering if it possible to run two scripts in same time automaticly on docker container start . In this example, we have a custom shell script that accepts three command-line arguments ($1, $2 & $3). sh: f() { echo "Sleep" sleep 10 echo "Done" } f Dockerfile: FROM alping COPY start. Bash is free software, distributed under the terms of the GNU General Public License, version 3 . sh run as root, which means your USER directive is completely pointless. FROM alpine:3. io/docker:tag sh then sh will be passed to the entrypoint script, which will do the setup and then eventually run it. 3: ENTRYPOINT proper usage explanation is in my post. The WORKDIR will not work in that isolated bash - RUN , the bash will start with the /root, if you do not change the ". sh. Jul 14, 2021 · 1. sh & And after docker run <MY_IMAGE> the docker status is Exited (0) I'm trying also to change start. Feb 3, 2018 · To run a bash script in alpine based image, you need to do either one. 2. sh shell is standard in Dockerfile. sh script, which I want to run while building a docker image (meaning - put . So docker run is not the answer. I want to get an ENV var within the bash script passed into my Dockerfile, everytime I run the container and check the logs it says it can't find the set environment var. Something like allowing the container to ssh to the host and run the script is the answer. RUN chown -R admin:admin / RUN chmod 755 / Just give the Admin rights to / root directory. Jan 6, 2016 · To use docker run in a shell pipeline or under shell redirection, making run accept stdin and output to stdout and stderr appropriately, use this incantation: docker run -i --log-driver=none -a stdin -a stdout -a stderr e. You need to do any one of these two or both. The content of the Dockerfile is. #Download base image ubuntu 20. Install bash $ RUN apk add --update bash Use #!/bin/sh in script instead of #!/bin/bash. sh CMD [". sh . . sh && catalina. /upload. Just grab the above commands and put them into a Bash script. sh my_script. sh / RUN chmod +x /script. See below answer . bash -c 'source /script. Want i want to do is have some logic inside my bash script to determine if the container is healthy or not. My script file looks like: #!bin/bash docker run -t -i -p 5902:5902 --name "mycontainer" --privileged myImage:new /bin/bash Dec 6, 2023 · Intermediate Level: Running Scripts and Applications. /docker-entrypoint. If you’re going to run bash scripts in a Docker container, ensure that you add the necessary arguments in the scripts. sh"] Mar 27, 2019 · here is the example bash script: #!/bin/bash exit 0; here is the dockerfile: HEALTHCHECK --interval=2s CMD HealthCheckTest. Mar 7, 2020 · beyond your main question, note that your Dockerfile is suboptimal, because it uses the multi-stage build feature of Docker (namely, you have several FROM in your Dockerfile), while it seems this feature is unneeded for your use case. 17 WORKDIR /path Aug 21, 2024 · If you are using any major operating system, you are indirectly interacting with bash. Simply remove the sudo from line number 5. 12 && nvm use 0. COPY test. sh' script file and want to run this script file in Dockerfile. docker run -it --rm --entrypoint /bin/bash test hi /bin/bash: hi: No such file or directory docker run -it --rm test bash $ hi hello For non-interactive shells you should create a small script and put it in your path, i. Feb 28, 2021 · I have a requirement to run 2 scripts inside docker. go:195: exec user process caused "no such file or directory" means that either the executable is not found or one of its required libraries is not found, which makes debugging the Dockerfile quite docker build -t test . My Oct 30, 2015 · You can use what is called "ANSI-C quoting" with $''. Jun 15, 2016 · I have a Docker Image which uses a Script (/bin/bash /init. Question: Why is my build failing? It seems like Docker has the scripts, the tools to execute them, and the proper instruction to do so, so I'm not sure how to approach this. Aug 20, 2020 · Secondly I think that build openvino image, create container from that, connect it and initiliaze variables by running script manually in container. Base Image used CentOS CMD "cd /home/xyz/; . But I wanted to instead of having a separate shell script file can I do it in the docker file using CMD command in Dockerfile – I've seen a bunch of tutorials that seem do the same thing I'm trying to do, but for some reason my Docker containers exit. – Alpine docker image doesn't have bash installed by default. Once you do that, these variables will be available for you to use as arguments. This file is a text file that contains all of the instructions necessary to build and run the Docker container. The . 3+ then you can just do: RUN apk add --no-cache bash To keep the docker image size small. This article, then, is going to explain a lot about Dockerfile. Installing or using sudo in Dockerfile useless. In the entrypoint you can specify your custom script, and then run catlina. Nov 29, 2016 · Create a script to run, something like: #!/usr/bin/env expect set timeout 10 spawn some_program_that_requires_interaction. If you want to run . 12 && nvm alias default 0. /myscript. To run a disposable new container, you can simply attach a tty and standard input: Jul 22, 2015 · So Currently i am mentioning the same in a shell script file and creating a docker image . sh to: Feb 27, 2017 · I would like to run a bash script to set some values. sh' – Muhammad Jamee Ghouri Commented Mar 16, 2023 at 15:38 Dec 26, 2019 · When your Dockerfile runs RUN . This tutorial covers the basics of Docker, including how to create a container, run a bash script, and share data between the host and container. If your script is being run by the sh shell, but you want bash, the proper solution is either to have the sh process invoke bash as a one-off, e. /script. sh || exit 1 I still get always unhealthy. com # Update Alpine Linux Package Manager and Install the bash RUN apk update && apk add bash # Run the bash terminal on container startup CMD /bin/bash Aug 28, 2023 · This script overrides the application’s default ENTRYPOINT and starts a bash shell. 1 executes multiple RUN:. As you become more comfortable with the ‘docker run bash’ command, you can start to explore its more advanced uses. # Run sginit in background waiting for ES to start /sginit. If I run the same script after the container started w/ the default CMD, it works. 11 linux/amd64 Also, note, both scripts execute perfectly when I run them manually. Have a shebang defining /bin/bash as the first line of your sayhello. sh will start in the background, and will only initialize SG after ES is started. /script2. If you wish to update the running PATH CMD /bin/bash -c 'MY_COMMAND_OR_SHELL_SCRIPT; /bin/bash' Trying an explanation here to the answer of @lanni654321. Instead, it's a traditional POSIX shell. Dec 30, 2022 · It doesn’t make sense to run a container just for breaking out and running a script on the host, but you can run an API service on the host and send a request to it from the container. It was originally a ksh93 feature but it is now available in bash, zsh, mksh, FreeBSD sh and in busybox's ash (but only when it is compiled with ENABLE_ASH_BASH_COMPAT). - Dockerfile-flask-bash I'm trying to run script in background when the container creare (inside container). I want to add multiple scripts in my docker file and run it when the container is up. This typically looks like: #!/bin/sh # Read in the file of environment settings . bashrc". : This script uses the exec Bash command so that the final running application becomes the container's PID 1. Let’s create a simple Dockerfile for our image: FROM ubuntu:latest COPY startup. /test. RUN . sh looks like this: Sep 13, 2022 · Do you have a use case for needing to change the container-private port number at run time, or can you hard-code it in both the Dockerfile and your script? – David Maze Commented Sep 13, 2022 at 17:27 Oct 29, 2015 · In short - no. I have the following simple start. For example commands. This tactic gives you the flexibility to run your container with a different parameter than those originally depicted in your Dockerfile’s ENTRYPOINT. I want to run this image and see output of my_script. sh) from the Dockerfile. sh on my dockerhost. Nov 10, 2017 · For example I have a script called myscript: #!/bin/bash export PLATFORM_HOME="$(pwd)" And have following lines in Dockerfile: COPY myscript. sh is an application and only when it's up and running we can run playbook. like this. sh(shell script) file inside Dockerfile. That's why shell functions and shell syntax (like cmd1 && cmd2) cannot being used out of the box. We can use the Dockerfile COPY directive to copy the shell script file to our container’s filesystem. I didn't even notice that @MohammedNoureldin has the right answer and is almost voted over the accepted answer. /install. Make it be the ENTRYPOINT; make the CMD be the thing you’re actually running. ; The RUN instruction that starts on line 3 will update the apt index, install the “redis-server” package and clean the apt cache. Since you can only run one thing (an entrypoint), if you want to do more things than that, you have to use a script like this to do some things before forking off the actual command you wanted to run (in this case, npm start). STEP 2: SHELL ["/bin/bash", "-c"] Apr 13, 2023 · Creating the Dockerfile. Jul 25, 2018 · But this fails as it appears that I can't run COPY or RUN commands inside a conditional statement. sh ENTRYPOINT ["/script. At this point, we’ve created the equivalent container image as if we’d created it using the Dockerfile. json) from the template. sh && …', or you could even go so far as to avoid bashisms (like source) entirely, and instead opt to only ever use valid POSIX equivalents, e. I have a really simple Redis bash script that loads some default values into Redis for when my application starts, run in a docker container. Copy and paste the example Dockerfile contents into your Dockerfile, as shown below, and save it. Create new Dockerfile and continue building steps by using this images for ongoing steps. 2: In a Dockerfile every command running as root, in fact there's no another user by default in most dockerised linux distros, just the superuser. Since you don't need to care much about users inside the container, it can be even just /. calculate_ssp 0. 10 installed ssh (via apt-get install ssh) Problem: each when I start container I have to run sshd manually service ssh start Tried: update-rc. 2 joins them:. sh I've also tried to use ENTRYPOINT instead of RUN or declaring variable before calling the script, all that with no success. The /some/path is a path of your choice inside the container. How should i do this ? If you docker run without attaching a tty, and only call bash, then bash finds nothing to do, and it exits. Ex: My shell script looks like: #!bin/bash echo $1 Dockerfile looks lik Jan 28, 2021 · For Docker to use your build arguments, you need to specify them by name in your Dockerfile as an ARG. d folder using docker file, or docker-compose file using bind mount volume. RUN chmod +x myscript. startup. Also when your specify a command to be run with docker it would not run the CMD command that you had defined while building the Dockerfile. sh, I want to create a file (file. Dec 26, 2023 · Learn how to run a bash script in a Docker container with this step-by-step guide. Now, running each of these commands by hand is certainly doable, but sometimes it’s nice to use a script. By “breaking out” I mean you could run a privileged container, disable pid namespace and attach to all of the namespaces of PID 1 and execute a script there. Jan 20, 2016 · My point is that this script (and most other scripts you run noninteractively) will not read /etc/bash. In the Dockerfile the ENTRYPOINT has to be JSON-array syntax for it to be able to see the CMD arguments, and the script itself needs to actually run the CMD, typically with a line like exec "$@".
ijaji
hadu
ihu
gqusd
oujcps
ksm
nmly
wzsw
mim
ywryh