Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Suggestion: Docker Image Build and Run Script #4

Open
IBNobody opened this issue May 17, 2019 · 0 comments
Open

Suggestion: Docker Image Build and Run Script #4

IBNobody opened this issue May 17, 2019 · 0 comments

Comments

@IBNobody
Copy link

IBNobody commented May 17, 2019

Thanks for creating this container.

I wrote this simple shell script to automate the build and run process. It might be useful for people who are trying to figure out how to build the docker. As an added bonus, I added in the nut server port 9000.

#!/bin/sh
docker build ./ -t krptg/doge:latest
 
docker run \
    --name "doge" \
    -d \
    -v $(pwd):/keys \
    -v  /path/to/nsp:/nsp \
    -p 6093:6093 \
    -p 9000:9000 \
    -e DOGE_USER=admin \
    -e DOGE_PASSWD=admin \
    -e NUT_USER=admin \
    -e NUT_PASSWD=admin \
    krptg/doge:latest
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant