Skip to content

Commit

Permalink
move to docker-ce / dockerd. Fixes #1860
Browse files Browse the repository at this point in the history
  • Loading branch information
schakrava committed Dec 5, 2017
1 parent e9422f5 commit a8e16d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base-buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ command =
postgresql-server postgresql-devel kernel-ml btrfs-progs rsync \
nfs-utils avahi netatalk smartmontools net-tools sos hdparm \
postfix cyrus-sasl-plain yum-cron nano usbutils pciutils shellinabox \
epel-release cryptsetup
epel-release cryptsetup docker-ce

[rpm-deps-nut]
recipe = plone.recipe.command
Expand Down
6 changes: 3 additions & 3 deletions src/rockstor/scripts/docker_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from fs.btrfs import mount_share
from storageadmin.models import Share

DOCKER = '/usr/bin/docker'
DOCKERD = '/usr/bin/dockerd'


def main():
Expand All @@ -33,5 +33,5 @@ def main():
except Exception as e:
sys.exit('Failed to mount Docker root(%s). Exception: %s' %
(mnt_pt, e.__str__()))
run_command([DOCKER, 'daemon', '--log-driver=journald', '-s',
'btrfs', '-g', mnt_pt])
run_command([DOCKERD, '--log-driver=journald', '--storage-driver',
'btrfs', '--data-root', mnt_pt])

0 comments on commit a8e16d0

Please sign in to comment.