This file contains hidden or 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
While you are in the mydockerbuild directory, build the image using the docker build command. | |
The -t parameter gives your image a tag, so you can run it more easily later. | |
Don’t forget the . command, which tells the docker build command to look in the current directory for a file called Dockerfile. | |
docker build -t docker-whale . | |
docker images --> lists the images you have locally. | |
docker run docker-whale --> run image |
This file contains hidden or 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
//BE CAREFUL WITH BROWSER COMPATIBILITY | |
1.Template Strings | |
var message = ` | |
kjfgskfgsg | |
sdflkgdsflgldfsg | |
mdsfg.dfgdfs;gjklsdfgjksdflg | |
`; |
This file contains hidden or 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
npm -g rm module_name //uninstall global package |