I have tried running this container on Docker for Mac but it keeps spitting out an error:
`$ sudo docker run --rm -it -v ~/crits-data:/home/nonroot/workdir -p 8443:8443 remnux/crits
Unable to find image 'remnux/crits:latest' locally
latest: Pulling from remnux/crits
8aec416115fd: Pull complete
695f074e24e3: Pull complete
946d6c48c2a7: Pull complete
bc7277e579f0: Pull complete
2508cbcde94b: Pull complete
8c5f76692058: Pull complete
c9c95511d79b: Pull complete
9296ab42c531: Pull complete
8ab6493f5e9b: Pull complete
bf7fa77e3078: Pull complete
02d7f025eb5a: Pull complete
1b64f006a9e1: Pull complete
a741d2087cbb: Pull complete
Digest: sha256:f9daf8f6884f43066c2cb8662008903ced075c72d8da51f29fa0c3378086a85b
Status: Downloaded newer image for remnux/crits:latest
2017-03-29 12:08:55,093 CRIT Set uid to user 999
2017-03-29 12:08:55,113 INFO RPC interface 'supervisor' initialized
2017-03-29 12:08:55,113 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-03-29 12:08:55,113 INFO supervisord started with pid 7
2017-03-29 12:08:56,121 INFO spawned: 'mongod' with pid 11
2017-03-29 12:08:56,123 INFO spawned: 'apache2' with pid 12
2017-03-29 12:08:57,173 INFO success: mongod entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-29 12:08:57,173 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
about to fork child process, waiting until server is ready for connections.
forked process: 82
child process started successfully, parent exiting
Traceback (most recent call last):
File "/data/crits/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 354, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 303, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 92, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/data/crits/crits/settings.py", line 117, in
execfile(dbfile)
ValueError: invalid \x escape
$ docker version
Client:
Version: 17.03.0-ce
API version: 1.26
Go version: go1.7.5
Git commit: 60ccb22
Built: Thu Feb 23 10:40:59 2017
OS/Arch: darwin/amd64
Server:
Version: 17.03.0-ce
API version: 1.26 (minimum version 1.12)
Go version: go1.7.5
Git commit: 3a232c8
Built: Tue Feb 28 07:52:04 2017
OS/Arch: linux/amd64
Experimental: true`
I was getting this on an older version of the Docker for Mac Beta so i removed that and installed the current stable version, however my issue still persists.
As such I ran this against a fresh install on a Ubuntu Server box and I get the same outcome:
`$ sudo docker run --rm -it -v ~/crits-data:/home/nonroot/workdir -p 8443:8443 remnux/crits
Unable to find image 'remnux/crits:latest' locally
latest: Pulling from remnux/crits
8aec416115fd: Pull complete
695f074e24e3: Pull complete
946d6c48c2a7: Pull complete
bc7277e579f0: Pull complete
2508cbcde94b: Pull complete
8c5f76692058: Pull complete
c9c95511d79b: Pull complete
9296ab42c531: Pull complete
8ab6493f5e9b: Pull complete
bf7fa77e3078: Pull complete
02d7f025eb5a: Pull complete
1b64f006a9e1: Pull complete
a741d2087cbb: Pull complete
Digest: sha256:f9daf8f6884f43066c2cb8662008903ced075c72d8da51f29fa0c3378086a85b
Status: Downloaded newer image for remnux/crits:latest
2017-03-29 12:20:15,255 CRIT Set uid to user 999
2017-03-29 12:20:15,276 INFO RPC interface 'supervisor' initialized
2017-03-29 12:20:15,276 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-03-29 12:20:15,276 INFO supervisord started with pid 7
2017-03-29 12:20:16,279 INFO spawned: 'mongod' with pid 11
2017-03-29 12:20:16,281 INFO spawned: 'apache2' with pid 12
2017-03-29 12:20:17,676 INFO success: mongod entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-29 12:20:17,676 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
about to fork child process, waiting until server is ready for connections.
forked process: 75
child process started successfully, parent exiting
2017-03-29 12:20:33,399 INFO exited: mongod (exit status 48; not expected)
Traceback (most recent call last):
File "/data/crits/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 354, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 303, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 92, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/data/crits/crits/settings.py", line 117, in
execfile(dbfile)
ValueError: invalid \x escape
$ docker version
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Mon Mar 27 17:14:09 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: c6d412e
Built: Mon Mar 27 17:14:09 2017
OS/Arch: linux/amd64
Experimental: false`
I've followed the install instructions and created the ~/crits-data folder and set the correct permissions on it, however no dice.
Is there anything obviously wrong that I am doing that would cause this issue?