Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error upon docker usage #25

Closed
geekscrapy opened this issue Jun 26, 2018 · 3 comments
Closed

Error upon docker usage #25

geekscrapy opened this issue Jun 26, 2018 · 3 comments
Assignees

Comments

@geekscrapy
Copy link
Contributor

Trying to build this in the docker container but I'm unsure how it's supposed to work. The following is the error I get when running from your example, but as far as I can see it would be quite a rewrite to make it usable in docker? The docker build flag doesn't take port or environment variables as far as I know. What version of docker are you running this under? TIA!

#docker build SnorterDock -p 80:80 -e OINKCODE=6207xxxx -e INTERFACE=eth0
unknown shorthand flag: 'p' in -p
See 'docker build --help'.
@joanbono
Copy link
Owner

Hi @geekscrapy , try the following:

#docker build SnorterDock -e OINKCODE=6207xxxx -e INTERFACE=eth0

After build complete, do:

#docker run YOUR_SNORTER_DOCKER -p 80:80 

I think there's a typo in the README file.

@geekscrapy
Copy link
Contributor Author

Thanks, just tried this and it doesn't work as it then asks for edits via the cmdline which cannot be completed via a docker build. This is another issue altogether though I guess

@joanbono
Copy link
Owner

Okai got the point. I’m closing this one as is related to #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants