How to execute sails js in docker

Viewed 375

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

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.

Related