Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Can not start docker #21

Open
CecilJackson opened this issue Sep 21, 2021 · 1 comment
Open

Can not start docker #21

CecilJackson opened this issue Sep 21, 2021 · 1 comment

Comments

@CecilJackson
Copy link

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
Copy link

Oleks1y commented Nov 27, 2021

also the same error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants