20210721184446-docker

From Eric Pearson / @nyloneric

Docker stuff until I make it pretty: Make the thing: https://flaviocopes.com/docker-node-container-example/**[flaviocopes.com](http://flaviocopes.com/)** Create a simple Node.js Hello World Docker Container from scratch https://flaviocopes.com/docker-node-container-example/You will run into errors, so: => [internal] load metadata for ``docker.io/library/node:14`` Solved with: sudo DOCKER_BUILDKIT=0 docker build . -t user/node-web-appdiscussion: https://stackoverflow.com/questions/64221861/failed-to-resolve-with-frontend-dockerfile-v0 doStack Overflow Failed To Resolve With FrontEnd DockerFIle.v0more details about docker file: https://nodejs.org/en/docs/guides/nodejs-docker-webapp/enter container: docker exec -it <container id> /bin/bash``docker run -p 49160:8080 -d <your username>/node-web-appPut your image in the cloud! https://hub.docker.com/signupNode.js Dockerizing a Node.js web app | Node.js Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.[1:25 PM] I also really like Mosh Hamadani tutorials. https://www.youtube.com/watch?v=pTFZFxd4hOI

Last modified: 202107220145