English 中文(简体)
• 如何回到 no子里去:最新的cker子形象?
原标题:How to get back to shell in nodejs:latest docker image?

我为我的cker子们,我尝试了这一指挥。

docker run -it node:latest

当时,我就在RePL,

Welcome to Node.js v16.3.0.
Type ".help" for more information.
>

我尝试了控制+c,但这一形象已经消失,

是否有办法处理这种形象中的伤口?

问题回答

另一种做法是,一旦你有集装箱运行,你就处于 no状态。

因此,你开始这样做。

docker run -it node:latest

然后,你可以打开另一个终点站,然后向它铺面。

docker exec -it <container id> bash




相关问题
How to make Sequelize use singular table names

I have an model called User but Sequelize looks for the table USERS whenever I am trying to save in the DB. Does anyone know how to set Sequelize to use singular table names? Thanks.

What is Node.js? [closed]

I don t fully get what Node.js is all about. Maybe it s because I am mainly a web based business application developer. What is it and what is the use of it? My understanding so far is that: The ...

Clientside going serverside with node.js

I`ve been looking for a serverside language for some time, and python got my attention somewhat. But as I already know and love javascript, I now want learn to code on the server with js and node.js. ...

Can I use jQuery with Node.js?

Is it possible to use jQuery selectors/DOM manipulation on the server-side using Node.js?

How do I escape a string for a shell command in node?

In nodejs, the only way to execute external commands is via sys.exec(cmd). I d like to call an external command and give it data via stdin. In nodejs there does yet not appear to be a way to open a ...

热门标签