Answer the question
In order to leave comments, you need to log in
How to pass parameters when running a docker image?
Hello, help me figure it out, I have a docker file
FROM ubuntu:latest
MAINTAINER vadim
ENTRYPOINT ["pytest","-s -v", "/test.py"]
RUN apt-get update && apt-get install -y\
git \
python3-pip \
&& pip3 install pytest \
&& pip3 install paramiko
RUN git clone https://github.com/admen/super.git
CMD ["--host=192.168.45.113", "--port=2222", "--user admen", "--password=qwerty"]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question