Running apache2 server on ubuntu docker containerDocker install tools/run command on existing containerContain Docker Engine with AppArmor“Cannot connect to the Docker daemon” problem in Docker Ubuntu ContainerAccess docker container by FQDNinstall discourse with docker on ubuntu 16.04Running as a host user within a Docker containerIPSEC VPN client inside Docker container (Ubuntu)
Why is propagation delay a function of supply voltage?
How would I measure the Carbon Dioxide content in Coca Cola over a period of time?
Can a weapon be "unsheathable"?
Approximation of homeomorphism by diffeomorphism
How would sword design change if the aim was to cause as much immediate bleeding as possible?
Tactical illusion combat countermeasures (password system)
How can communicating in human language with an unconscious alien species be treated as an attack?
Java OOP Temperature Converter
Putting tools you use (but can't configure) on resume?
Is it ethical to apply for a short-term grant with a partner/spouse/girlfriend?
What would have been the typical drinks for a US farmer in the late 18th/early 19th century?
Is it advisable to cover and uncover the clarinet mouthpiece to play each note?
Texas gun laws - can an overseas visitor buy ammunition?
Is the number of federal judges appointed by Trump unusual?
Postdoc Fellowships Collision
Does a SQL server point in time recovery take as long as a full recovery?
What did Harry mean when he said "Well, I take it you're not sorry?" to Griphook?
What is this old farm "combine"?
Why is this defense against "It's a Unix system!" not widely implemented?
How to prevent stopping a macro on unsuccessful substitution?
How can I ensure consistency in web design?
Why there is difference between performance of Vanguard S&P500 (VUSA) and S&P500 index
Should we stop differentiating between ln and log?
Determine if this series is convergent/divergent
Running apache2 server on ubuntu docker container
Docker install tools/run command on existing containerContain Docker Engine with AppArmor“Cannot connect to the Docker daemon” problem in Docker Ubuntu ContainerAccess docker container by FQDNinstall discourse with docker on ubuntu 16.04Running as a host user within a Docker containerIPSEC VPN client inside Docker container (Ubuntu)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I am working on Ubuntu 14.04. I recently started to learn docker and I have a Ubuntu 14.04 container. I want to install and run apache2 on this container to get my hands dirty in cloud and servers. Can someone tell me the commands to run the apache2 server on a specific ip address(with port number) and URL?
14.04 apache2 docker
add a comment
|
I am working on Ubuntu 14.04. I recently started to learn docker and I have a Ubuntu 14.04 container. I want to install and run apache2 on this container to get my hands dirty in cloud and servers. Can someone tell me the commands to run the apache2 server on a specific ip address(with port number) and URL?
14.04 apache2 docker
add a comment
|
I am working on Ubuntu 14.04. I recently started to learn docker and I have a Ubuntu 14.04 container. I want to install and run apache2 on this container to get my hands dirty in cloud and servers. Can someone tell me the commands to run the apache2 server on a specific ip address(with port number) and URL?
14.04 apache2 docker
I am working on Ubuntu 14.04. I recently started to learn docker and I have a Ubuntu 14.04 container. I want to install and run apache2 on this container to get my hands dirty in cloud and servers. Can someone tell me the commands to run the apache2 server on a specific ip address(with port number) and URL?
14.04 apache2 docker
14.04 apache2 docker
asked Sep 3 '15 at 12:36
TrinityTrinity
11 silver badge3 bronze badges
11 silver badge3 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
Launching Apache web server using Docker is an extremely easy task.
Before starting, I may recommend you to follow these guides, that are really useful for understanding the steps of how-to-start with Docker - Run a simple application, Quickstart containers.
Regarding your Apache question: I may recommend you to follow this page, where you may find some useful recommendations of how-to-run Apache webserver on Docker.
If you'd like to run Docker container on some specific port, you may get started with the following - Docker networking guide.
Have a good luck!
I am trying to do this to replicate my manually installed docker server. The httpd docker image doesn't have the a2ensite etc. config that ubuntu does.
– Robert3452
Sep 4 '16 at 13:01
add a comment
|
Try :
apt-get update && apt-get install apache2 -y
--> This is because docker is not storing app repository cache
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f668822%2frunning-apache2-server-on-ubuntu-docker-container%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Launching Apache web server using Docker is an extremely easy task.
Before starting, I may recommend you to follow these guides, that are really useful for understanding the steps of how-to-start with Docker - Run a simple application, Quickstart containers.
Regarding your Apache question: I may recommend you to follow this page, where you may find some useful recommendations of how-to-run Apache webserver on Docker.
If you'd like to run Docker container on some specific port, you may get started with the following - Docker networking guide.
Have a good luck!
I am trying to do this to replicate my manually installed docker server. The httpd docker image doesn't have the a2ensite etc. config that ubuntu does.
– Robert3452
Sep 4 '16 at 13:01
add a comment
|
Launching Apache web server using Docker is an extremely easy task.
Before starting, I may recommend you to follow these guides, that are really useful for understanding the steps of how-to-start with Docker - Run a simple application, Quickstart containers.
Regarding your Apache question: I may recommend you to follow this page, where you may find some useful recommendations of how-to-run Apache webserver on Docker.
If you'd like to run Docker container on some specific port, you may get started with the following - Docker networking guide.
Have a good luck!
I am trying to do this to replicate my manually installed docker server. The httpd docker image doesn't have the a2ensite etc. config that ubuntu does.
– Robert3452
Sep 4 '16 at 13:01
add a comment
|
Launching Apache web server using Docker is an extremely easy task.
Before starting, I may recommend you to follow these guides, that are really useful for understanding the steps of how-to-start with Docker - Run a simple application, Quickstart containers.
Regarding your Apache question: I may recommend you to follow this page, where you may find some useful recommendations of how-to-run Apache webserver on Docker.
If you'd like to run Docker container on some specific port, you may get started with the following - Docker networking guide.
Have a good luck!
Launching Apache web server using Docker is an extremely easy task.
Before starting, I may recommend you to follow these guides, that are really useful for understanding the steps of how-to-start with Docker - Run a simple application, Quickstart containers.
Regarding your Apache question: I may recommend you to follow this page, where you may find some useful recommendations of how-to-run Apache webserver on Docker.
If you'd like to run Docker container on some specific port, you may get started with the following - Docker networking guide.
Have a good luck!
answered Jan 1 '16 at 16:32
ihor_dvoretskyiihor_dvoretskyi
1714 bronze badges
1714 bronze badges
I am trying to do this to replicate my manually installed docker server. The httpd docker image doesn't have the a2ensite etc. config that ubuntu does.
– Robert3452
Sep 4 '16 at 13:01
add a comment
|
I am trying to do this to replicate my manually installed docker server. The httpd docker image doesn't have the a2ensite etc. config that ubuntu does.
– Robert3452
Sep 4 '16 at 13:01
I am trying to do this to replicate my manually installed docker server. The httpd docker image doesn't have the a2ensite etc. config that ubuntu does.
– Robert3452
Sep 4 '16 at 13:01
I am trying to do this to replicate my manually installed docker server. The httpd docker image doesn't have the a2ensite etc. config that ubuntu does.
– Robert3452
Sep 4 '16 at 13:01
add a comment
|
Try :
apt-get update && apt-get install apache2 -y
--> This is because docker is not storing app repository cache
add a comment
|
Try :
apt-get update && apt-get install apache2 -y
--> This is because docker is not storing app repository cache
add a comment
|
Try :
apt-get update && apt-get install apache2 -y
--> This is because docker is not storing app repository cache
Try :
apt-get update && apt-get install apache2 -y
--> This is because docker is not storing app repository cache
answered Jul 3 '17 at 10:21
NitinNitin
1
1
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f668822%2frunning-apache2-server-on-ubuntu-docker-container%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown