The following instruction is a solution when you got an error response with live-restore using Docker Swarm in Fedora 28 or highter

$ docker swarm init
Error response from daemon: --live-restore daemon configuration is incompatible with swarm mode

That’s not possible to enable Live-restore and Swarm-mode together.

First make sure that the SElinux is Permissive or Disabled.

$ sestatus

SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      31

Then remove the –live-restore line from the /etc/sysconfig/docker

# nano /etc/sysconfig/docker

# Modify these options if you want to change the way the docker daemon runs
#OPTIONS='--selinux-enabled --log-driver=journald --live-restore' # original
OPTIONS='--selinux-enabled --log-driver=journald' #fixed

if [ -z "${DOCKER_CERT_PATH}" ]; then
    DOCKER_CERT_PATH=/etc/docker
fi

$ systemctl restart docker

Then you should get the bellow promt when you issue the docker swarm init

# docker swarm init
Swarm initialized: current node (cvd6pifjhr4adjj0leyywzzekr) is now a manager.

To add a worker to this swarm, run the following command:

    docker swarm join \
    --token SWMTKN-1-31dszgyu6ouctrmgccpsc8pu37jh0x7t8ms2ps0snl5z4wzsvq-72fnhrhb4pfsbzh0i996svrz7 \
    10.123.20.123:2334

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.