Why do I receive the error "unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file..." while installing MATLAB Online Server?

9 vues (au cours des 30 derniers jours)
Why do I receive the following error while installing MATLAB Online Server?
unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: exec-opts: (from flag: [native.cgroupdriver=systemd], from file: [native.cgroupdriver=systemd]), log-driver: (from flag: journald, from file: json-file), storage-driver: (from flag: overlay2, from file: overlay2)

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 24 Fév 2023
By default, the Docker daemon is configured using the properties in the file /etc/docker/daemon.json, and the bootstrap-node command overwrites any customization. Unless bootstrap-node is executed with the flag –preserve-docker-config, bootstrap node creates or overwrites /etc/docker/daemon.json. If needed, run the following commands:
sudo ./mosadm merge-kube-config
which: no mosadm in (/sbin:/bin:/usr/sbin:/usr/bin)
Will merge the current config from ~/.kube/config with the one in /etc/kubernetes/admin.conf
mkdir -p /home/$USER/.kube
cp /etc/kubernetes/admin.conf /home/$USER/.kube/config
chmod 600 /home/$USER/.kube/config

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by