Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
f0afa7e8
Commit
f0afa7e8
authored
May 01, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker: add some example run commands for debugging a container or having it take over host ports
parent
89240a4f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Dockerfile
Dockerfile
+9
-1
No files found.
Dockerfile
View file @
f0afa7e8
...
@@ -2,8 +2,16 @@
...
@@ -2,8 +2,16 @@
# see https://www.docker.io
# see https://www.docker.io
###########################
###########################
# To build the image:
# sudo docker.io build -t box .
# sudo docker.io build -t box .
# sudo docker.io run -i -t box
# To run a container for testing (with a command prompt and no publicly exposed ports):
# sudo docker.io run -i -t -P box
# Or to run in the background and expose all of the ports so that the *host* acts as a Mail-in-a-Box:
# (the SSH port is only available locally, but other ports are exposed publicly and must be available
# otherwise the container won't start)
# sudo docker.io run -d -p 22 -p 25:25 -p 53:53/udp -p 443:443 -p 587:587 -p 993:993 box
FROM
ubuntu:14.04
FROM
ubuntu:14.04
MAINTAINER
Joshua Tauberer (http://razor.occams.info)
MAINTAINER
Joshua Tauberer (http://razor.occams.info)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment