[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #33088 [Circumvention]: Offer obfs4 docker image for additional architectures
#33088: Offer obfs4 docker image for additional architectures
-------------------------------+-------------------------------
Reporter: phw | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Circumvention | Version:
Severity: Normal | Resolution:
Keywords: docker, s30-o24a2 | Actual Points:
Parent ID: #31281 | Points: 1
Reviewer: | Sponsor: Sponsor30-can
-------------------------------+-------------------------------
Comment (by phw):
On Linux, cross-architecture builds for docker are currently still an
experimental feature that's provided by the "buildx" module. I'll briefly
summarise how I got this module to run.
On my Debian buster, I installed the `docker-ce-cli` package and linked
the module /usr/libexec/docker/cli-plugins/docker-buildx to ~/.docker/cli-
plugins/docker-buildx. I then enabled experimental features by writing the
following to the file /etc/docker/daemon.json:
{{{
{
"experimental": true
}
}}}
Next, I restarted the docker service by running `sudo service docker
restart`. Finally, I had to export the environment variable
`DOCKER_CLI_EXPERIMENTAL=enabled`. Once all of that was done, I was able
to use experimental features:
{{{
$ docker version -f '{{.Server.Experimental}}'
true
}}}
...and in particular, the buildx plugin. I stumbled upon a
[https://mirailabs.io/blog/multiarch-docker-with-buildx/ useful blog post]
that provides an overview of this process.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33088#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs