Introdução ao Docker avaliações

176727 avaliações

Lucas H. · Revisado há over 2 years

got confused so student_00_c92d258434cd@cloudshell:~/test (qwiklabs-gcp-01-679312492df8)$ cat > app.js << EOF; const http = require("http"); const hostname = "0.0.0.0"; const port = 80; const server = http.createServer((req, res) => { res.statusCode = 200; res.setHeader("Content-Type", "text/plain"); res.end("Hello World\n"); }); server.listen(port, hostname, () => { console.log("Server running at http://%s:%s/", hostname, port); }); process.on("SIGINT", function () { console.log("Caught interrupt signal and will exit"); process.exit(); }); EOF; when we copied this and hit enter it did not run so I added another process.on("SIGINT", function () { console.log("Caught interrupt signal and will exit"); process.exit(); }); EOF; > EOF student_00_c92d258434cd@cloudshell:~/test (qwiklabs-gcp-01-679312492df8)$ docker build -t node-app:0.1 . so then it ran now it said to student_00_c92d258434cd@cloudshell:~/test (qwiklabs-gcp-01-679312492df8)$ docker run -p 4000:80 --name my-app node-app:0.1 /app/app.js:20 EOF; ^ ReferenceError: EOF is not defined at Object.<anonymous> (/app/app.js:20: so I will start again just finished all good aside from the miss ;

Arch A. · Revisado há over 2 years

Adam C. · Revisado há over 2 years

Ankush G. · Revisado há over 2 years

TARUN G. · Revisado há over 2 years

Meda S. · Revisado há over 2 years

Hari Govind Reddy V. · Revisado há over 2 years

Bad, very bad. is difficult to know and follow. the shell cloud its freeze and fail.

Jacob M. · Revisado há over 2 years

Bad, very bad. is difficult to know and follow. the shell cloud its freeze.

Jacob M. · Revisado há over 2 years

Bad, very bad. is difficult to know and the console cloud its freeze.

Jacob M. · Revisado há over 2 years

CHERUKU A. · Revisado há over 2 years

Eskala B. · Revisado há over 2 years

Suma L. · Revisado há over 2 years

Where is the "Consola de Google"?, don't show in the browser.

Jacob M. · Revisado há over 2 years

Ayesha S. · Revisado há over 2 years

조현기 S. · Revisado há over 2 years

Gujarathi K. · Revisado há over 2 years

BETHAMCHERLA K. · Revisado há over 2 years

Adeoluwa O. · Revisado há over 2 years

ANAND KUMAR R. · Revisado há over 2 years

Henock M. · Revisado há over 2 years

Haoran W. · Revisado há over 2 years

Ethan C. · Revisado há over 2 years

Karol M. · Revisado há over 2 years

Chloe M. · Revisado há over 2 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.