Home How to access docker mediawiki from another machine on the network?
Reply: 1

How to access docker mediawiki from another machine on the network?

Ian M
1#
Ian M Published in 2018-01-12 15:44:51Z

I'm a complete newcomer to docker (and also a Linux novice). I've just installed docker and mediawiki on a Lubuntu 16.10 VM running on an ESXi 6.5 host. I followed guidance here

https://github.com/addshore/mediawiki-docker-dev

I have mediawiki up and running on the Lubuntu VM, and can access it using:

http://default.web.mw.localhost:8080

I'd like to access mediawiki from another machine on the LAN, but don't know where to start. I've tried this command:

sudo docker run -d -p 8080:8080 apache

but got this error:

Unable to find image 'apache:latest' locally
docker: Error response from daemon: pull access denied for apache, repository does not exist or may require 'docker login'.

Is there a simple way of getting access to my docker/mediawiki site from another machine?

cricket_007
2#
cricket_007 Reply to 2018-01-27 15:27:56Z

As the error says... apache is not an image name

MediaWiki has an official docker image... And you should not use sudo to run containers

docker run --name some-mediawiki -p 8080:80 -d mediawiki
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.308274 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO