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
691 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,230 points
5,156 views
0 votes
0 answers

Not able to start docker Desktop in Windows

In Microsoft Windows 10 professional, I am ...READ MORE

Apr 20, 2022 in Docker by pranav
• 2,590 points
2,826 views
+3 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,620 points
250,186 views
0 votes
1 answer

Efficient way to run a Docker Compose stack in production?

Here is a concept which you can ...READ MORE

answered Aug 2, 2018 in Docker by Damon Salvatore
• 5,980 points
1,123 views
0 votes
1 answer
+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,020 points
2,706 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP