Answer the question
In order to leave comments, you need to log in
How to automatically start processes (tor, privoxy) in Docker with container start?
Hello! I just recently started using docker, but I don’t understand how to start processes in a container. Here is my Dockerfile:
FROM ubuntu:16.04
RUN \
apt update && apt install -y \
tor \
privoxy
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
Answer the question
In order to leave comments, you need to log in
Why do you want to run multiple services in the same container? Docker ideology: one process - one container. The task is to isolate tor and privoxy in separate containers, and then connect - over the network or shared directories.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question