Opened 9 years ago

Last modified 8 years ago

#13 new enhancement

Containerize the Bookmarks application

Reported by: peter Owned by: peter
Priority: minor Component: codebase
Keywords: Cc:
Project: BookmarksApp


Containerize the Bookmarks application, and create a Docker container for it.

Change History (3)

comment:1 Changed 9 years ago by peter

[110/bookmarks]: Add a run command to the bkmkd script.

comment:2 Changed 8 years ago by peter

  • Priority changed from major to minor

comment:3 Changed 8 years ago by peter


FROM ubuntu:14.04
MAINTAINER Peter Eichman <>
RUN apt-get update && apt-get install -y subversion make cpanminus \
    libexpat1-dev libxml-libxml-perl
RUN svn co /srv/bookmarks

WORKDIR /srv/bookmarks
RUN cpanm --installdeps .
RUN bin/bkmk init -f bookmarks.db
RUN bin/bkmkd init -D dbname=bookmarks.db

CMD /srv/bookmarks/bin/bkmkd run


Build and run:

$ sudo docker build -t peichman/bookmarks .
$ sudo docker run -d -p 5000:5000 peichman/bookmarks
Note: See TracTickets for help on using tickets.