Last active
September 3, 2021 20:11
-
-
Save fdervishi90/ee2efc2e3f52587d723d180ca231b270 to your computer and use it in GitHub Desktop.
Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### DOCKER ####### | |
docker build . // create image from the current directory | |
docker run -p 3000:3000 xxxxx // run the image, open up port 3000 in host and 3000 on container, xxxxx id of the image | |
docker ps // list running containers | |
docker ps -a // all | |
docker stop xxxxxxx // stop container xxxxxxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment