-
Notifications
You must be signed in to change notification settings - Fork 623
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
Exit code 100 #18
Comments
ah, this is resolved via the |
Sadly it didn't help me. Any other options guys ? I run it via
|
Doesn't work for me either. Trying to run mongodb docker container in Windows 10. I'm using: |
@MattMoranJava for Docker on Windows, see #107 (comment) |
try to make the whole data directory as a volume volumes: try it works for me. |
Since the |
@tianon you are right this doesn't solve the problem. |
So are there any solutions to this? Should directory mounting work with mongo:windowsservercore image? |
@aorlenko, current solutions are to mount a folder from the VM (#74 (comment)) or use a named volume (#74 (comment)). Yes, the PS C:\Users\Docker\docker> docker run -d --name mongo -v C:\Users\Docker\docker\mongo-data:C:\data\db mongo:3.4-windowsservercore
PS C:\Users\Docker\docker> ls .\mongo-data\
Directory: C:\Users\Docker\docker\mongo-data
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 9/13/2017 2:30 PM diagnostic.data
d----- 9/13/2017 2:30 PM journal
-a---- 9/13/2017 2:30 PM 16384 collection-0--6462546833303440715.wt
-a---- 9/13/2017 2:30 PM 16384 collection-2--6462546833303440715.wt
-a---- 9/13/2017 2:30 PM 16384 index-1--6462546833303440715.wt
-a---- 9/13/2017 2:30 PM 16384 index-3--6462546833303440715.wt
-a---- 9/13/2017 2:30 PM 16384 index-4--6462546833303440715.wt
-a---- 9/13/2017 2:30 PM 0 mongod.lock
-a---- 9/13/2017 2:30 PM 16384 sizeStorer.wt
-a---- 9/13/2017 2:30 PM 95 storage.bson
-a---- 9/13/2017 2:30 PM 49 WiredTiger
-a---- 9/13/2017 2:30 PM 21 WiredTiger.lock
-a---- 9/13/2017 2:30 PM 986 WiredTiger.turtle
-a---- 9/13/2017 2:30 PM 24576 WiredTiger.wt
-a---- 9/13/2017 2:30 PM 4096 WiredTigerLAS.wt
-a---- 9/13/2017 2:30 PM 16384 _mdb_catalog.wt
PS C:\Users\Docker\docker> |
My container is automatically exiting with error code 100 after
sudo docker run -d -p 27017:27017 --name=mongo mongo
.OS stats:
The text was updated successfully, but these errors were encountered: