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

Docker for M1 out of date? #404

Open
grburgess opened this issue Mar 17, 2023 · 5 comments
Open

Docker for M1 out of date? #404

grburgess opened this issue Mar 17, 2023 · 5 comments

Comments

@grburgess
Copy link
Contributor

I'm using the docker server but after an update, it seems the library is now behind and there is no arm64 version available.

Telega Setup

OS: macOS 13.2.1
Emacs: GNU Emacs 29.0.60 (build 1, aarch64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2.1 (Build 22D68))
Features: svg webp ffmpeg
Telega: telega v0.8.120 (TDLib v1.8.8-unknown) (telega-server v0.8.2 [docker])

Current Behavior

telga complains that

Steps to Reproduce

  1. just load telga
@zevlg
Copy link
Owner

zevlg commented Mar 17, 2023

Do we have some special docker image for M1? I don't think so. Update your docker image as described in the manual, i.e. $ docker pull zevlg/telega-server:latest to get latest image

I see only this tags in the docker hub
docker-screenshot

@grburgess
Copy link
Contributor Author

The last image might have supported arm64? I'm not sure but I know it was working. When I tried to pull the latest to match with the newest telga:

❯ docker pull zevlg/telega-server:latest
latest: Pulling from zevlg/telega-server
no matching manifest for linux/arm64/v8 in the manifest list entries

@zevlg
Copy link
Owner

zevlg commented Mar 20, 2023

Currently, we have only linux/amd64 as docker hub reports. Feel free to create Pull Request adding support for other OS/ARCH combinations

Building docker images is done by GitHub via https://github.com/zevlg/telega.el/blob/master/.github/workflows/docker.yml

@grburgess
Copy link
Contributor Author

I can have a look

@lonky
Copy link

lonky commented Oct 4, 2023

I found a workaround to this.
Pull the image with option '--platform linux/amd64' :
docker pull zevlg/telega-server:latest --platform linux/amd64
then change the 'latest' tag to 1.8.0:
docker image tag zevlg/telega-server:latest zevlg/telega-server:1.8.0
Now when you type 'M x telega RET' it starts without any errors.
You can delete the first image with 'latest' tag:
docker image rm zevlg/telega-server:latest

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

3 participants