Open dewan-ahmed opened 4 years ago
app.get('/resource', (req, res) => {
res.send("Resource from Appsody!");
});
does not have copy and paste icon
This is not a problem but the 56 steps deployment took a really long time.
When I clicked http://localhost:30000/live and http://localhost:30000/ready, katacoda couldn't find the port 3000 and redirected me to a page to enter a new port.
https://2886795277-30000-cykoria02.environments.katacoda.com/live
After entered the correct port, I got redirected to
https://2886795277-31089-cykoria02.environments.katacoda.com/
which the /live
was missing.
After the scenario initiates, the system gives the following message: N: Can't drop privileges for downloading as file '/root/appsody-install/appsody_0.4.7_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Step 2 out of 3, I did not understand the context of The stack image does not contain APPSODY_PROJECT_DIR.
appsody run fails with master $ appsody run Running development environment... Pulling docker image kabanero/nodejs-express:0.2 Running command: docker pull kabanero/nodejs-express:0.2 0.2: Pulling from kabanero/nodejs-express Digest: sha256:82d7f1aa133ae63f5bea3df66278fbd66a882a0bad9f1d53337552a9041b37ca Status: Image is up to date for kabanero/nodejs-express:0.2 Running docker command: docker run --rm -p 8080:8080 -p 9229:9229 -p 3000:3000 --name nodejs-dev -v /root/workspace/kabanero-workshop/nodejs/:/project/user-app -v nodejs-deps:/project/user-app/node_modules -v /root/.appsody/appsody-controller:/appsody/appsody-controller -t --entrypoint /appsody/appsody-controller kabanero/nodejs-express:0.2 --mode=run [Container] docker: Error response from daemon: driver failed programming external connectivity on endpoint nodejs-dev (deb67dd6abbbce73345caa058228209a5f23d1e106e7c9b37506784760ac51fe): (iptables failed: iptables --wait -t filter -A DOCKER! -i docker0 -o docker0 -p tcp -d 172.18.0.2 --dport 9229 -j ACCEPT: iptables: No chain/target/match by that name. [Container] (exit status 1)). [Error] Error in 'appsody run': exit status 125
@yasmin-aumeeruddy pls review.