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 container ARM 32bit support #2071

Closed
wetfloo opened this issue Aug 28, 2024 · 2 comments
Closed

Docker container ARM 32bit support #2071

wetfloo opened this issue Aug 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@wetfloo
Copy link

wetfloo commented Aug 28, 2024

Hi, would it be possible to add 32-bit support for a docker container workflow? It seems as simple as just adding an architecture to the workflow file. This would, for example, allow for running sing-box containerized on older mikrotik routers

@MemesPwr
Copy link

MemesPwr commented Sep 4, 2024

I have builded docker image by myself for my hAP ac3 which is running on 7.16rc4 at this moment:

  1. Clone this repo (i am do this to ~/src, but it's don't really matter)
    $ git clone --recurse-submodules https://github.com/SagerNet/sing-box.git
  2. Navigate to repo directory
    $ cd sing-box/
  3. Build an image using docker
    $ docker buildx build -t sing-box-armv7 --no-cache --platform linux/arm/v7 .
  4. Export our image to .tar archive
    $ docker save sing-box-armv7 -o singbox-armv7-img.tar

then just upload it to your router. i have uploaded directly to my usb which is mounted on my router and use our singbox-armv7-img.tar file instead remote image

it should looks like this in winbox:
winbox64_2024-09-04_14-52-37
image

you also need to set mount point ("Mounts" property on screenshot above)

hope this can help you to run sing-box on your mikrotik

@nekohasekai nekohasekai added the enhancement New feature or request label Sep 7, 2024
@nekohasekai
Copy link
Member

https://github.com/SagerNet/sing-box/pkgs/container/sing-box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@wetfloo @MemesPwr @nekohasekai and others