Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to execute sails js in docker

I am using docker for my sails js project. Any idea how to check which command was used to run sails.js. I have tried History command but its not giving me previous command which was run

Can anybody tell me how to check the which command was used before to execute the sailsjs? I need to restart my sails.js

like image 692
arun kamboj Avatar asked Dec 11 '25 11:12

arun kamboj


1 Answers

To check what command used to run to make it started in docker, try

docker ps -a --no-trunc --format "{{.ID}}: {{.Command}}"

It will show the full command for sailsjs for the container.

like image 178
zdk Avatar answered Dec 13 '25 00:12

zdk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!