Skip to content

Instantly share code, notes, and snippets.

@edgarmarkosov
edgarmarkosov / docker.txt
Last active February 19, 2018 13:30
Docker images and containers
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
@edgarmarkosov
edgarmarkosov / new tricks
Last active September 11, 2015 07:08
Node JS v. 4.0.0, ES6
//BE CAREFUL WITH BROWSER COMPATIBILITY
1.Template Strings
var message = `
kjfgskfgsg
sdflkgdsflgldfsg
mdsfg.dfgdfs;gjklsdfgjksdflg
`;
npm -g rm module_name //uninstall global package