我正试图在码头上构建一个nodejs应用程序。我有以下文件
--Dockerfile
FROM mhart/alpine-node:12
RUN echo -e "http://nl.alpinelinux.org/alpine/v3.5/main\nhttp://nl.alpinelinux.org/alpine/v3.5/community" > /etc/apk/repositories
RUN apk add --no-cache make gcc g++ python git
USER root
RUN apk --update add bash
RUN
? 我已经在kubernetes(v1.15.2) kube-system命名空间中部署了treafik(v2.0),现在我定义了一个自定义命名空间并部署了我的微服务应用程序。因为treafik不能跨命名空间共享pod,所以我在dabai-fat namespace.Now中部署了相同的treafik。treafik入口给了我这个提示: 0/3 nodes are available: 1 node(s) didn't have free ports for the requested pod ports, 2 node(s) didn't match node se
遇到tmux在停靠容器文件中未初始化的问题。此外,还存在将tmux附加到预先存在的容器的人员形式的搜索阻塞。这不是我想要做的。
# in the dockerfile
FROM debian:latest
RUN apt-get install tmux
RUN tmux new -s foo -d
RUN tmux ls
_________________________
$: docker build .
...
> [8/8] RUN tmux ls:
#11 0.415 no server running on /tmp/tmux-0/default
------
exec