MISP / docker-misp

Automated Docker MISP container - Malware Information Sharing Platform and Threat Sharing
BSD 3-Clause "New" or "Revised" License
105 stars 31 forks source link

Can not start docker #21

Open CecilJackson opened 3 years ago

CecilJackson commented 3 years ago

I getting this error. [admc1jac@apdstvmmips01 container]$ sudo docker run -it -d \

-p 443:443 \
-p 80:80 \
-p 3306:3306 \
-p 6666:6666 \
-v $docker-root/misp-db:/var/lib/mysql \
harvarditsecurity/misp

docker: Error response from daemon: create -root/misp-db: "-root/misp-db" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'. [admc1jac@apdstvmmips01 container]$ sudo docker run "docker run" requires at least 1 argument. See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container [admc1jac@apdstvmmips01 container]$ ls Dockerfile supervisord.conf [admc1jac@apdstvmmips01 container]$ cd /var/lib [admc1jac@apdstvmmips01 lib]$ ls AccountsService authconfig chrony colord dhclient flatpak fwupdate geoclue initramfs lldpad misc NetworkManager PackageKit pulse rpcbind rsyslog setroubleshoot systemd udisks2 upower xkb alsa bluetooth clamav containerd dnsmasq fprint games gssproxy iscsi logrotate mlocate nfs polkit-1 rasdaemon rpm samba stateless tpm unbound uptrack yum alternatives boltd color dbus docker fwupd gdm hyperv libvirt machines net-snmp os-prober postfix rhsm rpm-state selinux supportinfo tuned up2date vmware [admc1jac@apdstvmmips01 lib]$ sudo docker run -it --rm \

-v $docker-root/misp-db:/var/lib/mysql \
harvarditsecurity/misp /init-db

docker: Error response from daemon: create -root/misp-db: "-root/misp-db" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.

Oleks1y commented 2 years ago

also the same error