Sign inSign up

bigfleet/docker-present

By bigfleet

Updated almost 9 years ago

Docker training repository

Image
2

418

bigfleet/docker-present repository overview

Launching

Launching a container from the image without any arguments will display the help (or use the -h flag):

you@yourhost:~$ docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock bigfleet/docker-present

docker-present

  Available Options:

    -h    Display help
    -p    Specify port (required)

  Usage:

    docker run -ti --rm --name=docker-present -v /var/run/docker.sock:/var/run/docker.sock bigfleet/docker-present -p <port>

Running a presentation:

Note: Mounting the Docker socket and specifying a port is required.

you@yourhost:~$ docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock bigfleet/docker-present -p 8000

After running the above command, select a presentation to serve from the menu:

you@yourhost:~$ docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock bigfleet/docker-present -p 8000

Available Presentations:

1) presentation1
2) presentation2
3) presentation3

Enter selection: 2
Attempting to start presentation 'presentation2' on port: 8000 ...
bfaf705df7ea57419e5d9d33c9e50b72e183e81a34cc3a1d25a61f0fb0d72304
you@yourhost:~$

Tag summary

Content type

Image

Digest

Size

393.9 MB

Last updated

over 10 years ago

docker pull bigfleet/docker-present