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

Can not start docker #21

@CecilJackson

Description

@CecilJackson

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions