-
Notifications
You must be signed in to change notification settings - Fork 124
Docker won't start after adding configuration parameters via "preferences" as json #1466
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
Comments
Very similar issue here. Diagnostic ID AADEFD13-95E6-4848-BD67-D05948CD7FAA I added "userns-remap":"default" to the json. To be completely honest can't recall what exactly happened next, but things weren't behaving great. Clicked the "reset your daemon settings" link and I hoped I'd be back to normal. But:
After a reboot I got a slightly different result:
and
|
@lizrice Hmm, I just tried adding userns-remap and it worked fine, also resetting worked. I am on the dev version, which is closer to the beta channel, but this should not have changed anything. Does quitting the app and restarting help? @peteblin adding |
A regular restart didn't help, but a "reset to factory settings" got me back up and running again. |
Thats odd, hopefully someone can work out from the diagnostic what went wrong. |
@peteblin Thanks for the report! As @justincormack explained, there's no support for 'device-mapper' at the moment in our embedded Linux. Is there any particular reason you need this support instead of overlay2? @lizrice I'm looking at your diagnostic tarball and there some suspicious behaviour with truncated logs there. The tarball doesn't actually have anything in the Docker |
Anil
I am installing an image into docker that requires the following
configuration for running on CentOS. I am attempting to get the image to
run on OSX.
docker.conf file located in docker.service.d :
tee /etc/systemd/system/docker.service.d/docker.conf <<-EOF
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd --iptables=false --storage-driver=devicemapper
EOF
docker-create file:
#!/bin/bash
docker create \
--network=host \
--uts=host \
--shm-size=2g \
--ulimit core=-1 \
--ulimit memlock=-
8000
1 \
--ulimit nofile=2448:38048 \
--cap-add=IPC_LOCK \
--cap-add=SYS_NICE \
--env 'username_admin_globalaccesslevel=admin' \
--env 'username_admin_password=admin' \
--name=solace solace-app:<version-edition>
I will try using overlay2.
Are there any other parameters I should change that you know won't work on
OSX?
Thanks
--Peter
…On Mon, Mar 27, 2017 at 12:54 PM, Anil Madhavapeddy < ***@***.***> wrote:
@peteblin <https://github.com/peteblin> Thanks for the report! As
@justincormack <https://github.com/justincormack> explained, there's no
support for 'device-mapper' at the moment in our embedded Linux. Is there
any particular reason you need this support instead of overlay2?
@lizrice <https://github.com/lizrice> I'm looking at your diagnostic
tarball and there some suspicious behaviour with truncated logs there. The
tarball doesn't actually have anything in the Docker daemon.json, and
(amusingly but unhelpfully) the diagnostics service is failing to start.
I've submitted an internal PR to improve some of the diagnostics logging
that should be helpful if this happens again, but there isn't quite enough
to diagnose your problem from this report. I have confirmed that
userns-remap:"default" works on the beta channel though. If you see this
problem again, we'd appreciate a fresh bug report to help chase down the
issue...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1466 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI2C_Cggs2k-kkPmkyz-P3v_ufUc2JoGks5rp-mygaJpZM4MoneO>
.
|
@peteblin unfortunately |
--Anil
It sure is!!
Solace has set of well defined ports they use!!
Thanks for the help!1
Best,
--Peter
…On Tue, Mar 28, 2017 at 9:48 AM, Anil Madhavapeddy ***@***.*** > wrote:
@peteblin <https://github.com/peteblin> unfortunately --net=host will not
work in Docker for Mac at this time, (see #155
<#155> for the tracking issue).
Ideally that application should expose a well-defined port to connect to
rather than exposing the entire Docker bridge to the host -- is this a
request you can raise upstream with the Solace-app maker?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1466 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI2C_Iwj1U_YMxxOc0OvMKo3q2XCzwvUks5rqTnRgaJpZM4MoneO>
.
|
Great, glad to hear you have it working now. If you could encourage them to update their documentation to avoid the use of If you run into any further issues with Docker for Mac, please do not hesitate to open up a fresh bug report here. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Actual behavior
Information
Steps to reproduce the behavior
I added the following to the docker daemon configuration
{
"iptables": false,
"storage-driver": "devicemapper"
}
Docker will not start.
--Peter
The text was updated successfully, but these errors were encountered: