[tor-bugs] #33088 [Circumvention]: Offer obfs4 docker image for additional architectures

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 5 19:37:11 UTC 2020


#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


More information about the tor-bugs mailing list