Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Installation. Docker Wrapper and Commit ID. #4195

Open
1 task
tokenwizard opened this issue Aug 9, 2024 · 2 comments
Open
1 task

Help with Installation. Docker Wrapper and Commit ID. #4195

tokenwizard opened this issue Aug 9, 2024 · 2 comments

Comments

@tokenwizard
Copy link

My question:

The Main Page mentions, in the Install section, a Docker method. This is related to that method. I cannot seem to get this to work. It seems I am missing a step, but I don't see any documentation related to the Docker method included in either of the docs linked above.

What is the proper start->finish process for getting wire-server up and running via Docker?

Context:

Please provide sufficent context about your problem:
Running Docker version 27.1.1, build 63125853e3 on a fresh install of Arch Linux with the base-devel docker git packages installed.

the make command listed for the Docker method in the README fails.

How did you install wire-server?

Not able to complete installation via Docker

How many servers are involved?

1

What is installed on which servers?

I have a fresh install of Arch Linux on a server and am trying to install wire-server via Docker. Nothing else is installed on arch-base except docker git base-devel

Provide details about networking

Networking is N/A at this point since I cannot even get the installation to complete.

How did you configure wire-server?

No configuration has been completed yet as I can't get it to install.

Additional Details:
I didn't see start-finish instructions of setting up with docker, but from what I have pieced together, this is what I have tried:

git clone https://github.com/wireapp/wire-server.git
cd wire-server
git submodule update --init --recursive
make docker-deps docker-intermediate docker-services
make: *** No rule to make target 'docker-deps'.  Stop.

Should I be running the make command in a different directory? Also, there is mention that there are prebuilt docker images available to download, but there are 25 images at the link given. Do we need to download all of those? Or only certain ones?

@tokenwizard
Copy link
Author

Or maybe I misunderstood. Looking back, it seems that the docker methods mentioned are just to build the binaries.
It seems there is no ready-made solution for self-hosting wire-server via Docker. Is that correct?

It seems Kubernetes is the preferred method for self-hosting.

@tokenwizard
Copy link
Author

Trying to go through the Kubernetes method that seems to use a docker container as a wrapper:

[wire@Wire-Messaging wire-server-deploy]$ echo $WSD_COMMIT_ID
2d83a76bdb495697fdba4fd4189a51c6f19f8591

[wire@Wire-Messaging wire-server-deploy]$ echo $WSD_CONTAINER
quay.io/wire/wire-server-deploy:2d83a76bdb495697fdba4fd4189a51c6f19f8591

[wire@Wire-Messaging wire-server-deploy]$ sudo docker run -it --network=host -v ${SSH_AUTH_SOCK:-nonexistent}:/ssh-agent -v $HOME/.ssh:/root/.ssh -v $PWD:/wire-server-deploy -e SSH_AUTH_SOCK=/ssh-agent $WSD_CONTAINER bash
Unable to find image 'quay.io/wire/wire-server-deploy:2d83a76bdb495697fdba4fd4189a51c6f19f8591' locally
docker: Error response from daemon: manifest for quay.io/wire/wire-server-deploy:2d83a76bdb495697fdba4fd4189a51c6f19f8591 not found: manifest unknown: manifest unknown.
See 'docker run --help'.

I'm not 100% sure how to find this Commit ID. I clicked the Commit listed at the top of the wire-server-deploy repo:
image

and saw the URL: https://github.com/wireapp/wire-server-deploy/commit/2d83a76bdb495697fdba4fd4189a51c6f19f8591

so I thought that string at the end would be the Commit ID needed, but maybe not. I have built several apps via github but have never had to reference a Commit ID before.

TIA!

@tokenwizard tokenwizard changed the title Question about Docker method of installation Help with Installation. Docker Wrapper and Commit ID. Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant