Skip to content

Problem Starting Vault. #7

Description

@tiwaryshailesh

COMMAND RUN
docker run -d
--cap-add=IPC_LOCK
-p 8200:8200
-v /etc/letsencrypt/:/etc/letsencrypt/
-e 'VAULT_LOCAL_CONFIG={"backend": {"file": {"path": "/vault/file"}},"listener":{"tcp":{"address":"0.0.0.0:8200","tls_cert_file": "/etc/letsencrypt/live/SERVER_DNS_NAME_HERE/fullchain.pem","tls_key_file":"/etc/letsencrypt/live/SERVER_DNS_NAME_HERE/privkey.pem"}},"default_lease_ttl": "7200h", "max_lease_ttl": "7200h"}'
--name sitch_vault
vault:v0.6.0 server

I have put my server DNS name in the command

ERROR
docker: Error response from daemon: Conflict. The container name "/sitch_vault" is already in use by container "a13662498a1ac251c3cd1d6c2af669b27c7aacad79b9b6089e9b044b89797719". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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