Not able to run my docker conatiner in local host

0 votes
FROM ubuntu
MAINTAINER Luke Crooks "luke@pumalo.org"
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 bitbucket.org >> /root/.ssh/known_hosts
RUN mkdir /root/clone
RUN cd /root/clone
WORKDIR /root/clone
RUN git clone https://github.com/prakhar1989/docker-curriculum.git
RUN ls -al
Feb 21, 2020 in Docker by Haseeb
• 120 points
214 views
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,070 points
2,442 views
+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
135,413 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
• 52,350 points
790 views
+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,120 points
1,193 views