Not able to run my docker conatiner in local host

0 votes
FROM ubuntu
MAINTAINER Luke Crooks ""
RUN apt-get update
RUN apt-get install -y nginx && apt-get clean
#RUN apt-get install -y apache2 && apt-get clean
RUN apt-get install -y git    
RUN mkdir /root/.ssh/
RUN touch /root/.ssh/id_rsa
EXPOSE 3400/tcp
RUN touch /root/.ssh/known_hosts
RUN ssh-keyscan -T 60 >> /root/.ssh/known_hosts
RUN mkdir /root/clone
RUN cd /root/clone
WORKDIR /root/clone
RUN git clone
RUN ls -al
Feb 21, 2020 in Docker by Haseeb
• 120 points
What's the error that you get when trying to run the container?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Docker

0 votes
1 answer

How to mount directories from a docker-machine to my local host?

You could do this using the docker-machine ...READ MORE

answered Jul 9, 2019 in Docker by Sirajul
• 59,090 points
+2 votes
12 answers

How to run multiple commands in docker at once?

In order to run multiple commands in ...READ MORE

answered Jul 19, 2018 in Docker by Sophie may
• 10,550 points
0 votes
1 answer
0 votes
1 answer
+2 votes
1 answer

Nodes not able to join docker swarm cluster

You need to provide more information like ...READ MORE

answered Sep 26, 2018 in Docker by Kalgi
• 52,370 points
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points