Sunday, September 23, 2018

How to execute sails js in docker

Leave a Comment

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

Answers 1

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.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment