Same thing here.
Beiträge von anderbytes
-
-
OMV uses whatever package Debian is using. If you are on OMV 2.x, it uses nut 2.6.4. If you are on OMV 3.x, it uses nut 2.7.2. Latest stable on the nut website is 2.7.4. That said, sometimes fixes are backported. So, you can't always go by version.
Okay thanks for the info. I'll keep looking for the cause of the issue.
-
Is NUT updated to lastest stable? Because I'm having trouble with my connection and need it updated to know if that resolve the issue.
-
hi, thanks for helping,
but i don't know what you mean with the aufs driver and which directory needs permissions?
Strange, if it is the first time you run Docker and your kernel is 3.16, it should run.
I'll let the experts take from here...
-
linux 3.16.0-0.bpo.4-amd 64
I did install that backportskernel after i installed docker for the first time, then i uninstalled and reinstalled docker ui but same.
Have you changed the default storage driver from aufs? The directory permissions are ok?
-
hello after installing the docker ui plugin when i click docker in left menu i get an error:
Error: "couldn't connect to host" - Code: 7
Fout #0:exception 'OMVModuleDockerException' with message 'Error: "couldn't connect to host" - Code: 7' in /usr/share/omvdocker/Utils.php:63Stack trace:#0 /usr/share/omvdocker/Utils.php(180): OMVModuleDockerUtil::doApiCall('http://localhos...')#1 /usr/share/openmediavault/engined/rpc/docker.inc(354): OMVModuleDockerUtil::getContainers('42005')#2 [internal function]: OMVRpcServiceDocker->getContainers(Array, Array)#3 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#4 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getContainers', Array, Array)#5 /usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'getContainers', Array, Array, 1)#6 {main}any idea what i should do?
What Kernel are you on?
-
Thanks!
one thing though, what made you decide to use overlay instead of devicemapper?It will probably the next default storage driver for docker, as far as I've read on the net.
Also, the fact that only kernel 4+ supports it makes it feel like more cunning edge tech
-
Great! do you have a link for a good tutorial please
There's no secret involved. The steps are same of the devicemapper tuturial, but use "overlay" instead of "devicemapper" in DOCKER_OPTS
Before doing it... I backed up all my images with the "docker save" command (to load them later) and wrote down all my configs of containers, that I had to recreate later.
-
Guys I moved to OverlayFS. So far so good in Kernel 4.8
Thanks everyone!
-
I have heard well of OverLayFS... guess I'll try that one
-
That is why we removed aufs from the unionfilesystems plugin. It isn't in the backports kernel and won't be in future versions of Debian. You need to switch to use devicemapper - Docker GUI plugin now stable
Damn!
So I'll have to rebuild all my containers?
-
It seems that Kernels 4+ don't like AUFS
-
I tested docker with 4.8 kernel, seems working well, what crash? any logs?
I tracked down the issue to the following error:
root@SRV{/var/log}: systemctl -l status docker.service
docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled)
Drop-In: /etc/systemd/system/docker.service.d
+-openmediavault.conf
Active: failed (Result: exit-code) since Tue 2017-01-03 12:40:03 BRST; 6min ago
Docs: https://docs.docker.com
Process: 1183 ExecStart=/usr/bin/docker daemon -H fd:// $DOCKER_OPTS $OMVDOCKER_API $OMVDOCKER_IMAGE_PATH (code=exited, status=1/FAILURE)
Main PID: 1183 (code=exited, status=1/FAILURE)Jan 03 12:40:02 SRV docker[1183]: time="2017-01-03T12:40:02.688499871-02:00" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"
Jan 03 12:40:02 SRV docker[1183]: time="2017-01-03T12:40:02.692333359-02:00" level=info msg="libcontainerd: new containerd process, pid: 1326"
Jan 03 12:40:03 SRV docker[1183]: time="2017-01-03T12:40:03.712906769-02:00" level=error msg="[graphdriver] prior storage driver \"aufs\" failed: driver not supported"
Jan 03 12:40:03 SRV docker[1183]: time="2017-01-03T12:40:03.712961967-02:00" level=fatal msg="Error starting daemon: error initializing graphdriver: driver not supported"
Jan 03 12:40:03 SRV systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Jan 03 12:40:03 SRV systemd[1]: Failed to start Docker Application Container Engine.
Jan 03 12:40:03 SRV systemd[1]: Unit docker.service entered failed state. -
I tested docker with 4.8 kernel, seems works well, what crash? any logs?
I'll be posting it in the next few hours. -
OMV 3 allows you to choose a newer kernel (4+), but Docker plugin crashes if I change to them.
Anyone is working into this?
-
I just want to update my suggestion list based on what I saw in Docker for OMV3 (I had OMV2 at the time).
### GENERAL ###
- [FEATURE] In Config tab, let us choose if "Run Image" screen comes with "Restart on system reboot", "Run container in privileged mode" and "Sync time with host" toggle each one ON or OFF by default. It's annyoing always having to robot-click some of those every time.### IMAGES ###
- [FEATURE] Create a button near Images called "Check for Update", so we can query if a newer image is available. If so... give an option to Pull it. no typing...
- [FEATURE] Allow removing of those repo's and insertion of others. Makes that tab a lot more useful... (not possible, I guess)- [FEATURE] Integrate more cool stuff! What about DockViz?? https://github.com/justone/dockviz
### NETWORKING ###
- [FEATURE] When running an image and Bridge is chosen, allow us to K.I.S.S. (Keep It Simple, Stupid) on ports. How? Pre-fill defaults exactly with port(s) seen in Dockerfile, and IP(s) pre-filled with host IP. If something is not as we please, we remove them and insert manually. 90% of the time we only copy the port number, without changing it.
- [FEATURE] When in Bridge. Pre-fill a suggested Host name with the word at right of "/" in image name (upper-case, ok?)
- [BUG] When chosen network type is "Host", you still ask for Host name, but it doesn't matter because it ends being replace by actual name from Docker Host. So... why ask i? Make it go away like the ports fields.### CONTAINERS ###
- [FEATURE] When copying containers, please don't freeze "Docker image" field. Because when an image gets updated... that will be the field to save us from re-doing all configs at new image. Or maybe we want to create a beta environment of another stable one.... or go crazy and change Linux distro at next container. No limits here!
- [BUG] When copying containers, copied custom environment vars gets messed. I've already seen GIDs var switches with PIDs var and things like that... sometimes custom aren't brought at all to copied form.### VOLUMES ###
- [FEATURE] Make it so that, when a "Host Path" is filled but nothing is filled at "Container Path", then just assume its equal to "Host Path". Would save a lot of time for some.
- [FEATURE] Today you make predicted Volumes (Ex: /config for some) available in a listbox. Well, about that...
---- Pre-create X editable lines, one for each predicted Container Path in Dockerfile, with that field pre-filled
---- We only can access predicted options by typing "/". Please create something like made in Exposed Ports list.
------- After the above done, don't make available already used options (no use in having 2 of any Container Path)I'll try to scavenge the source code and collaborate... don't know if I know enough web development for this.
-
Does it work with alternative port? My ISP blocks incoming from 80 and 443
-
Another thing: when MODIFY or COPY, the next screen (with container details) doesn't bring old stuff typed in "Extra args" field.
I use "--link XXXXXX" a lot... so the Extra args are a need for me, while the GUI doesn't support the --link
-
I just got the courage to switch to OMV 3, and the patience to reinstall everything from scratch.
So far... so good!
-
I had some trouble trying to modify containers... the error "Error: "Failed to connect to localhost port 80: Connection refused" - Code: 7" appears when I try to SAVE the changes.
Can someone explain me what is happening?