Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Then, pull your Docker image and other relevant file from GitHub. Once pulled, navigate to the project folder you just uploaded and run the Docker as you would do locally. To keep your service from blocking the console, you should run your Docker in detached mode or, alternatively, do enter ctrl-z to suspend the service and run the following commands

Code Block
ctrl-z
bg
disown -h

Then you can log out and the service will continue running on the EC2 instance.