Populate the database for the furiousgeorge/leanote container
1.7K
This container is to be used as a one-time run to populate the database for the furiousgeorge/leanote container.
This container and the furiousgeorge/leanote container require a mongodb container to be running.
If you do not have a mongodb container running yet, run the following command:
docker run --name mongo -v /my/own/datadir:/data/db -d mongo:3.2.3
To populate the database, run this container and link the previously started mongo container:
docker run --rm --link mongo:mongo furiousgeorge/leanote-populatedb
--rm flag will dispose of the container upon completion.Once this container has been run and the database has been populated, this container and image can be discarded and you can proceed with running furiousgeorge/leanote.
Content type
Image
Digest
Size
186.8 MB
Last updated
almost 5 years ago
docker pull furiousgeorge/leanote-populatedb