Delivery-Date: Thu, 06 Nov 2014 12:16:49 -0500
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID
	autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 723521E02E7;
	Thu,  6 Nov 2014 12:16:48 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id E985231374;
	Thu,  6 Nov 2014 17:16:41 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id B12AB3127C
 for <tor-talk@lists.torproject.org>; Thu,  6 Nov 2014 17:16:38 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id szT8zthloDch for <tor-talk@lists.torproject.org>;
 Thu,  6 Nov 2014 17:16:38 +0000 (UTC)
Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com
 [IPv6:2607:f8b0:400d:c01::22e])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id 81A6A287D9
 for <tor-talk@lists.torproject.org>; Thu,  6 Nov 2014 17:16:38 +0000 (UTC)
Received: by mail-qc0-f174.google.com with SMTP id r5so1127924qcx.5
 for <tor-talk@lists.torproject.org>; Thu, 06 Nov 2014 09:16:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=zN/POf1k/2mb2qkgr1FkR54k4Uk99sIzQU8HPHEmw+Q=;
 b=BZIdz34ugi+fcn1IsTmOIo/RWWSNN2lMSqUaJ03UKZU4ovI0OYcigPVKh869t/NsHl
 Cpe03ufUkyh8AZH7kEnf4ugBs6/1Jv/euP3A76OZLM+coIDE9VK91csh/wwVYcIT/aFh
 3OblTT750Z9VeSHiwOBV9WztVVKy6Zs18geSBSQUF2KDb4k4KE/G1CaJQD9kD5wQ8nmr
 xcLPFP+yzVFjWBjjedC5B7QziL4M2n0cMP66H7xRY8NSZF6wh+wAQyKV3f6HpNt67uzB
 vPl5WKipIij+yKI0BPbCGW/oPA8MS8alHtJKTUwDoplMSC+ZHpruHPSX/XPUWQazZxRN
 9/IQ==
MIME-Version: 1.0
X-Received: by 10.224.119.195 with SMTP id a3mr8894000qar.19.1415294196119;
 Thu, 06 Nov 2014 09:16:36 -0800 (PST)
Received: by 10.140.40.75 with HTTP; Thu, 6 Nov 2014 09:16:36 -0800 (PST)
Date: Thu, 6 Nov 2014 18:16:36 +0100
Message-ID: <CA+nXgrU=FrOvBgp_hFfghRp-=PFN+FS1SU_rLZRRsGzzDeJ0Mw@mail.gmail.com>
From: Olivier Revollat <revollat@gmail.com>
To: tor-talk@lists.torproject.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [tor-talk] Running tor in a docker container as non root
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

Hello !
I found some dockerfile example to use tor within a docker container.
But all are running tor as root user (which is bad) so I decided to
make my own Dockerfile with some improvements for example the
possibility to modify the configuration while the container is running.

check the Dockerfile at :
https://github.com/revollat/torbox

What do you think of the code in the Dockerfile ? any ideas for some
improvements ?
What do you think about keeping ".tor" directory in a volume ? is there
security risk ?


Thanks !
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

