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 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
• 55,420 points
+1 vote
11 answers

How to run multiple commands in docker at once?

Try this: docker run image bash -c "cd ...READ MORE

answered Apr 17, 2019 in Docker by anonymous

edited Apr 17, 2019 by Kalgi 78,632 views
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
• 51,890 points
0 votes
1 answer

How to create a container and run images in docker?

Look for what all images you have ...READ MORE

answered Feb 22, 2019 in Docker by Kalgi
• 51,890 points
0 votes
1 answer
0 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
• 57,550 points