summaryrefslogtreecommitdiff
path: root/packaging/docker/README
blob: 147fa4194709e1aa3ec1dfb590e8d1f657494b49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Information about creating a docker image for running catlfish from a
binary release or with catlfish built from source.


Requirements
------------

- lack of expectations regarding security -- docker doesn't verify
  downloaded images
- a 64-bit Linux system
- lxc-docker version 1.3 or later


Building an image
-----------------

Run build-from-release.sh or build-from-source.sh to build a docker
image with catlfish. Note that you will have to cd into this
directory, catlfish/packaging/docker, in order for docker to find the
appropriate docker files.


Running it
----------

Run the resulting image in interactive mode.

    $ docker run -it --rm catlfish /bin/bash

See catlfish/examples/docker-single-node/README for an example of how
to set up a single node catlfish instance.