This repository has been archived by the owner on Jul 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path20210721184446-docker.html
16 lines (16 loc) · 3.09 KB
/
20210721184446-docker.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta name="description" content=""><!-- Bing --><meta name="msvalidate.01" content="45CBBE1BD8265A2217DFDA630EB8F84A" /><title>Tiny Brain Fans - 20210721184446-docker</title><link rel="stylesheet" href="tinystyle.css"></head><body>
<main id="main"><article id="content"><h1 id="title">20210721184446-docker</h1><p>From Eric Pearson / @nyloneric</p>
<p>Docker stuff until I make it pretty:
Make the thing: <a href="https://flaviocopes.com/docker-node-container-example/**%5Bflaviocopes.com%5D(http://flaviocopes.com/)*" target="_blank">https://flaviocopes.com/docker-node-container-example/**[flaviocopes.com](http://flaviocopes.com/)*</a>*
<strong><a href="https://flaviocopes.com/docker-node-container-example/" target="_blank">Create a simple Node.js Hello World Docker Container from scratch</a></strong>
<a href="https://flaviocopes.com/docker-node-container-example/You" target="_blank">https://flaviocopes.com/docker-node-container-example/You</a> will run into errors, so:
<code>=> [internal] load metadata for ``docker.io/library/node:14`` </code>Solved with: <code>sudo DOCKER_BUILDKIT=0 docker build . -t user/node-web-app</code>discussion: <a href="https://stackoverflow.com/questions/64221861/failed-to-resolve-with-frontend-dockerfile-v0" target="_blank">https://stackoverflow.com/questions/64221861/failed-to-resolve-with-frontend-dockerfile-v0</a>
do<strong>Stack Overflow</strong>
<strong><a href="https://stackoverflow.com/questions/64221861/failed-to-resolve-with-frontend-dockerfile-v0" target="_blank">Failed To Resolve With FrontEnd DockerFIle.v0</a><strong>more details about docker file:
<a href="https://nodejs.org/en/docs/guides/nodejs-docker-webapp/enter" target="_blank">https://nodejs.org/en/docs/guides/nodejs-docker-webapp/enter</a> container:
<code>docker exec -it <container id> /bin/bash``docker run -p 49160:8080 -d <your username>/node-web-app</code>Put your image in the cloud!
https://hub.docker.com/signup</strong>Node.js</strong>
<strong><a href="https://nodejs.org/en/docs/guides/nodejs-docker-webapp/" target="_blank">Dockerizing a Node.js web app | Node.js</a></strong>
Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.[1:25 PM] I also really like Mosh Hamadani tutorials.
<a href="https://www.youtube.com/watch?v=pTFZFxd4hOI" target="_blank">https://www.youtube.com/watch?v=pTFZFxd4hOI</a></p>
<p class="last-modified">Last modified: 202206101419</p></article></main><footer><nav><a href="index.html">Sitemap</a></nav><div class="social"><p>Built using <a href="http://codeberg.org/milofultz/swiki" target="_blank" rel="noopener noreferrer">{{SWIKI}}</a></p><p><a href="http://codeberg.org/milofultz/" target="_blank" rel="noopener noreferrer">Codeberg</a></p><p><a href="http://milofultz.com/" target="_blank" rel="noopener noreferrer">milofultz.com</a></p><p><a href="https://merveilles.town/@milofultz" target="_blank" rel="me noopener noreferrer">Mastodon</a></p></div></footer></body></html>