Tag: relx

连接到Docker容器中正在运行的Erlang应用程序版本

这是尴尬,但我完全卡住,浪费了今天上午更好的部分。 我有一个由relx创build的Erlang应用程序版本,部署并在Docker容器中运行。 我需要到运行的节点上的shell,但我没有这样做。 这是发生了什么事情: $ docker exec -it 770b497d7f27 /bin/bash [root@ff /]# /app/bin/ff Usage: ff {start|start_boot <file>|foreground|stop|restart|reboot|pid|ping|console|console_clean|console_boot <file>|attach|remote_console|upgrade|escript|rpc|rpcterms} [root@ff /]# /app/bin/ff ping pong [root@ff /]# /app/bin/ff attach Can't access pipe directory /tmp/erl_pipes/ff@127.0.0.1/: No such file or directory [root@ff /]# /app/bin/ff remote_console Eshell V7.1 (abort with ^G) (remshfbfbd4dd-ff@127.0.0.1)1> ^G Eshell V7.1 (abort with ^G) (remshfbfbd4dd-ff@127.0.0.1)1> 就是这样 […]