@mkgriesinger
post output of `docker --version`
restart docker, docker.socket service
Docker GUI plugin now stable
-
- OMV 2.x
- nicjo814
-
-
It's version 17.03.0-ce. Docker is running, and I tested it with docker run hello-world. However, the OMV plugin won't let me enable it or manage images from inside it. The plugin version i am using is 3.1.5.
I also rebooted my OMV server a few times, but that didn't help.
Code
Alles anzeigenroot@omv:~# systemctl status docker ● 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: active (running) since Thu 2017-03-02 14:37:08 PST; 6min ago Docs: https://docs.docker.com Main PID: 3982 (dockerd) CGroup: /system.slice/docker.service ├─3982 dockerd -H fd:// └─3991 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/lib... Mar 02 14:37:08 omv docker[3982]: time="2017-03-02T14:37:08.854213953-08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0...IP address" Mar 02 14:37:08 omv docker[3982]: time="2017-03-02T14:37:08.881661662-08:00" level=info msg="Loading containers: done." Mar 02 14:37:08 omv docker[3982]: time="2017-03-02T14:37:08.922383340-08:00" level=info msg="Daemon has completed initialization" Mar 02 14:37:08 omv docker[3982]: time="2017-03-02T14:37:08.922445735-08:00" level=info msg="Docker daemon" commit=60ccb22 graphdriver=overlay2 version=17.03.0-ce Mar 02 14:37:08 omv docker[3982]: time="2017-03-02T14:37:08.933994360-08:00" level=info msg="API listen on /var/run/docker.sock" Mar 02 14:37:08 omv systemd[1]: Started Docker Application Container Engine. Mar 02 14:37:09 omv systemd[1]: [/lib/systemd/system/docker.service:24] Unknown lvalue 'Delegate' in section 'Service' Mar 02 14:37:09 omv systemd[1]: [/lib/systemd/system/docker.service:24] Unknown lvalue 'Delegate' in section 'Service' Mar 02 14:37:09 omv systemd[1]: [/lib/systemd/system/docker.service:24] Unknown lvalue 'Delegate' in section 'Service'
Coderoot@omv:~# docker run hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world 78445dd45222: Pull complete Digest: sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7 Status: Downloaded newer image for hello-world:latest Hello from Docker! This message shows that your installation appears to be working correctly.
-
aha new version released and problem is that version regex didnt match so it claim not installed i didnt know that
https://github.com/OpenMediaVa…lt/engined/rpc/docker.inc
I think change regex in getsetting solves problem (simple fix)but the problem is im outside now ..
-
-
Fixed. No reason to check for the numbers with a regex. New version uploaded.
-
For information in OMV 2.X
To fix the trouble, I've made these changes in the /usr/chare/openmediavault/engined/rpc/docker.inc file, in function : getSettings():PHP: docker.inc$cmd = "docker --version 2>&1"; OMVUtil::exec($cmd, $out, $res); if (!preg_match('/^Docker version.*$/', $out[0], $matches)) { $dockerVersionInfo = "Docker not installed"; } else { $dockerVersion = $matches[1]; $cmd = "docker version";
After that, a simple :
service openmediavault-engine restart and it works ! -
Thanks. I guess I should've changed the OMV 2.x version when I changed the 3.x version. In the repo now.
-
-
here is screenshot of my container setting
I can edit transmission config file via OMV samba without issuecheck acl of sharedfolder using 'getfacl'
and 'mount' to show mounting option..Guys, I'm asking you for help.
For a long time, I can not run the transmission in a docker (linuxserver/transmission). The problem is that after restarting the container, the active torrents start downloading again, and those that are on pause keep progress.
I'm trying to make it work on a virtual boxThat's what I'm doing
1. create file system `data`
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=cceae20f-ad1d-459a-a5dd-951802dce8f4 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=63bac6f2-4477-4725-8568-ac79a705ab25 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/dev/disk/by-label/data /srv/dev-disk-by-label-data ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
2. create user `stan`
$ id stan
uid=1000(stan) gid=100(users) groups=100(users),27(sudo),116(ssh),996(docker)
3. create shared folder `media` with r/w for user `stan`
$ getfacl media
# file: media
# owner: root
# group: users
# flags: -s-
user::rwx
group::rwx
other::r-x
4. enable smb/cifs and add share `media`
$ testparm
Load smb config files from /etc/samba/smb.conf
WARNING: The "null passwords" option is deprecated
Processing section "[media]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
server string = %h server
map to guest = Bad User
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
syslog = 0
syslog only = Yes
log file = /var/log/samba/log.%m
max log size = 1000
socket options = TCP_NODELAY IPTOS_LOWDELAY
load printers = No
printcap name = /dev/null
disable spoolss = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
create mask = 0777
directory mask = 0777
aio read size = 16384
aio write size = 16384
use sendfile = Yes
printing = bsd
[media]
path = /srv/dev-disk-by-label-data/media
write list = stan
read only = No
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
inherit acls = Yes
guest ok = Yes
hide special files = Yes5. create folders on `media` share
$ pwd
/srv/dev-disk-by-label-data/media
$ ls -l
total 12
drwxrwsr-x 2 stan users 4096 May 11 10:46 config
drwxrwsr-x 2 stan users 4096 May 11 10:46 downloads
drwxrwsr-x 2 stan users 4096 May 11 10:46 watch6. create docker container
http://imgur.com/EQwrxrMlogs after start/restart container - https://pastebin.com/Z9TY3r2Y
-
Will the docker image be auto updated if the tag has been updated or must do it manually?
-
Will the docker image be auto updated if the tag has been updated or must do it manually?
never seen docker auto pulling images. So no....image will be left untagged. Then a pull command must be to update the image.
-
-
never seen docker auto pulling images. So no....image will be left untagged. Then a pull command must be to update the image.
Should i do anything to its container after i pulled the updated image?
-
Should i do anything on its container after i pulled the updated image?
I don't know depends what you really want. Rarely images contain updates on their sw inside, sometimes they just polish the dockerfile for building the container, that triggers an automated build from github to dockerhub. Think about plex in linuxserver, you don't need to update the image as every restart checks for updates, same goes for mono based sw like sonarr, radarr or emby.
If the image does really contain new sw then pull it, delete the old container and run it again. Modify button doesn't work for this -
My concern is the image of Kodi-headless krypton tag of linuxserver as it was updated 3 days ago
-
-
My concern is the image of Kodi-headless krypton tag of linuxserver as it was updated 3 days ago
So is not working?
-
You can always look at the commits, nothing interesting there really.
-
So is not working?
It works!
You can always look at the commits, nothing interesting there really.
Thanks for the assistance subzero79 -
-
Hi, i´m need some help by my first try with Docker.
I´m succesfully Activated the plugin and pull the headphones image. The host mode is "Host" and i´m just ad some Volumes from my OMV. So the webinterface sould be "xxx.xxx.xxx.xxx:8181" or did i mussundersud something?
Beacuse under OMV IP:8181 nothing happens?!?
-
Any idea what does not work?
-
I just want to post here a TESTING version of the plugin with some new features on top the existing one.
This new version includes
* The full restart policy menu. No, always, unless-stopped and on-failure
* Basic macvlan support, is a dropdown menu to select the network and to enter the IP field. The macvlan network still needs to be created at CLI
* Now the modify button retains the extra optionsFeel free to test this in a VM or similar env.
Edit1: Added clear log button for containers
Edit2: The macvlan network menu now displays the corresponding subnet
Edit3: The start, stop, restart button are all merged into one now for displaying the clear log button
Edit4: fixed the incorrect variable parsing, thanks to @Symbiot for reporting thisThanks
-
-
Wow. Great improvements.
What about network creations in next version? I'm tired of using "--link" to bind hostnames because default bridge can't use names.
Sent from my ASUS_Z017DA using Tapatalk
-
No network creations I am working only on current ui. Not creating another tab. If someone wants to contribute welcome.
Do you create as many networks as you create containers ?
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!