skip to Main Content

docker top: unrecognized option: /

I have a Dockerfile FROM eclipse-temurin:17-jre-alpine LABEL authors="sort-architectures" WORKDIR /app/kafka COPY ./kafka-3.5.1-src . CMD ls -lisa bin | grep kafka-s ENTRYPOINT ["top", "-b"] but when I build it and run it docker build . docker run IMAGE-SHA256 I get the…

VIEW QUESTION

How to pass docker run arguments in Jenkins?

I am trying to set up my Jenkins pipeline using this docker image. It requires to be executed as following: docker run --rm -v $PROJECT_DIR:/input -v $PROJECT_DIR:/output -e PLATFORM_ID=$PLATFORM_ID particle/buildpack-particle-firmware:$VERSION The implementation in my Jenkins pipeline looks like this: stage('build…

VIEW QUESTION

How to run a bash script during docker run?

After building the image I am executing the below command to containerize the docker image: sudo docker run -d -p 8080:80 --env-file /home/test/localwork/0014-test/dockerBuildScripts/scripts/env_variables.list test:1.0 I have a bash script that sets the database credentials in a file: #!/bin/bash echo "SetEnv…

VIEW QUESTION
Back To Top
Search