K6 docker container in Linux - ERRO[0000] unknown command "bash" for "k6"

Hi,

Wanted to create a k6 docker container in Linux env.

So, pulled k6 docker image giving following command:
docker pull joined-docker.artifactory.abcdefgh.net/loadimpact/k6:0.44.1

Then while trying to create a container:
docker run --name k6container -it joined-docker.artifactory.abcdefgh.net/loadimpact/k6:0.44.1 bash

Getting error: ERRO[0000] unknown command “bash” for “k6”

Intention is to first create a container then copy the scripts into docker container and then run there

Thanks for any help and guidance
Regards
Subho

got it …
since it is uses busybox we have to use
docker run --name k6container -it joined-docker.artifactory.abcdefgh.net/loadimpact/k6:0.44.1 /bin

1 Like