当我在 databricksConnectDocker 上运行图像时,我得到了这个:
tini (tini version 0.16.1 - git.0effd37)
Usage: tini [OPTIONS] PROGRAM -- [ARGS] | --version
Execute a program under the supervision of a valid init process (tini)
Command line options:
--version: Show version and exit.
-h: Show this help message and exit.
-s: Register as a process subreaper (requires Linux >= 3.4).
-v: Generate more verbose output. Repeat up to 3 times.
-g: Send signals to the child's process group.
-l: Show license and exit.
Environment variables:
TINI_SUBREAPER: Register as a process subreaper (requires Linux >= 3.4)
TINI_VERBOSITY: Set the verbosity level (default: 1)
然后它关闭。
这是我的码头文件:
FROM datathirstltd/dbconnect:71.0
ENV PYTHONPATH .
RUN mkdir /x
WORKDIR /x
COPY . /x
RUN pip install -r requirements.txt
然后,我创建图像:
docker build --tag X1.0 .
并尝试启动一个容器:
docker run --name X_container X:1.0
在这里我有我的错误。
知道它可能是什么吗?正常吗?