pluralsight-docker-ci's People
Forkers
raccoondev sureyya scrappy1987 djl2 ronsuez haythembouna fadiabdeen austntatious workitekt dawgware sharmaansh21 daraff arcseldon knandula geerthuls yotabyteyad gwynp andretti23 joseph-ortiz kyawthetsein keremtiryaki irom77 gabrielefalace vaparicio isijara keithlemon jdebbink conradob thistl3 apparaokalimireddy maxkimambo csnarain mrala soundman666 timververs chrissainty chosenbreed37 sriharichava charlesfindlay uzziwin guojin118 machzqcq valiant-falstaff bfdill eugenefed vinayak valmach zhaimo paulvanbladel mtf30rob ahussein sedias ttyler01 augjun kawikadkekahuna mustejab1 muthukumarts borntorun mr-campbell ccppjava tbkwtws yurivyatkin szumigalskis satish-git learn-for-passion mcda8248 igorsubbotin bkoti-optum yasahmed pmann91 duncbrowne timdunn22 helbitar linux-tarunk koenhoornaert amine24h kupara mickish testmdtest ralphgee isurudilhan vbamba savitojs floradu88 ram-manthry roystons spmaniato bitnamita uchenm winfredeu dserj vivekdanej123 fzuletavgw polinenipraveen exp-anoop frannsoft pariekshit mucase curiousminion ithenrikpluralsight-docker-ci's Issues
container mount
Hi Nigel, I did your free course on the Pluralsight Docker deep dive and have been reading the book also. both of them are phenomenal. I want to ask you that if you want to link the third party storage applications to the docker what would be the preferred choice. I mean to say that lets say i build a docker and i have build another docker and i am used mount to mount the volume from the disk but is there a way that i can attach the external mounts on the docker.
I actually mounted both of the docker containers into a swarm cluster i created and connected both of them through a network and both of them are exchanging the files well.
Any guess how to mount a large volume of the external data storage to the docker images.
Best regards, Gaurav
The Chinese version of the book does not have a github address
I had to search the warehouse address by the author's name
getting below issue while build on CI
mocha
module.js:328
throw err;
^
Error: Cannot find module 'supertest'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/home/ubuntu/pluralsight-docker-CI/test/test.js:4:15)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at /opt/circleci/nodejs/v4.2.6/lib/node_modules/mocha/lib/mocha.js:219:27
at Array.forEach (native)
at Mocha.loadFiles (/opt/circleci/nodejs/v4.2.6/lib/node_modules/mocha/lib/mocha.js:216:14)
at Mocha.run (/opt/circleci/nodejs/v4.2.6/lib/node_modules/mocha/lib/mocha.js:468:10)
at Object. (/opt/circleci/nodejs/v4.2.6/lib/node_modules/mocha/bin/_mocha:403:18)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
mocha returned exit code 1
Not able to stop and remove container
lovin your videos on Docker, thanks
Dockerfile to use ENTRYPOINT and CMD to allow graceful exit
AFAIK without using a shell-script handler, signals can't be passed to the running process. This means we need a handler to allow graceful startup and shutdown of the app.
This could bite you when it comes to testing, but most likely production, unless you purge the machine and any volumes prior to launching which is more time and effort, and might make everyone dislike in live environments.
Let me know if you're open to receiving a PR.
I got issue when CircleCI build to environment variable
content of my variable DOCKER_HUB_TRIGGER:
curl -H "Content-Type:application/json" --data '{"build":true}' -X POST https://registry.hub.docker.com/u/hominhdat/docker-ci/trigger/132b6751-fb48-4c47-b141-96d6de2f9076/
this is error:
$DOCKER_HUB_TRIGGER
<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
I run the curl above in teminal command line the all thing work perfect. But the environment variable in CircleCI got error. Do you know why?
Error pulling image
Im trying to create a kubernetes pod using the docker image nigelpoultron/pluralsight-docker-ci:latest
but the pod is in error state while pulling the docker image.
# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-pod 0/1 ErrImagePull 0 110s
And after sometime
# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-pod 0/1 ImagePullBackOff 0 2m55s
Below is the kubectl describe pods
output
# kubectl describe pods
Name: hello-pod
Namespace: default
Priority: 0
Node: minikube/10.1.1.163
Start Time: Tue, 08 Oct 2019 14:17:51 +0000
Labels: <none>
Annotations: <none>
Status: Pending
IP: 172.17.0.7
IPs:
IP: 172.17.0.7
Containers:
hello-ctr:
Container ID:
Image: nigelpoultron/pluralsight-docker-ci:latest
Image ID:
Port: 8080/TCP
Host Port: 0/TCP
State: Waiting
Reason: ErrImagePull
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-65rsv (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
default-token-65rsv:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-65rsv
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> default-scheduler Successfully assigned default/hello-pod to minikube
Normal Pulling 9s kubelet, minikube Pulling image "nigelpoultron/pluralsight-docker-ci:latest"
Warning Failed 8s kubelet, minikube Failed to pull image "nigelpoultron/pluralsight-docker-ci:latest": rpc error: code = Unknown desc = Error response from daemon: pull access denied for nigelpoultron/pluralsight-docker-ci, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Warning Failed 8s kubelet, minikube Error: ErrImagePull
Normal BackOff 7s kubelet, minikube Back-off pulling image "nigelpoultron/pluralsight-docker-ci:latest"
Warning Failed 7s kubelet, minikube Error: ImagePullBackOff
I was able to pull the docker image though
# docker pull nigelpoulton/pluralsight-docker-ci
Using default tag: latest
latest: Pulling from nigelpoulton/pluralsight-docker-ci
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the docker.io registry NOW to avoid future disruption.
a3ed95caeb02: Pull complete
3b231ed5aa2f: Pull complete
7e4f9cd54d46: Pull complete
929432235e51: Pull complete
6899ef41c594: Pull complete
0b38fccd0dab: Pull complete
Digest: sha256:7a6b0125fe7893e70dc63b2c42ad779e5866c6d2779ceb9b12a28e2c38bd8d3d
Status: Downloaded newer image for nigelpoulton/pluralsight-docker-ci:latest
docker.io/nigelpoulton/pluralsight-docker-ci:latest
Any idea how to fix this? I also tried without the "latest" tag but still getting the same error
WORKDIR instead of CD &&
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#workdir explains better than I ever could
Docker image built using the given Dockerfile crashes
I have tried building the docker image locally as I wanted to make some changes to the app. I built it with docker build -t <<Image Name>> .
.
I simply tried running with a docker run -d -p 8080:8080 <<Image Name>>
. It crashes every-time. How do I run the container in daemon mode? Can you please share a docker-compose.yml
file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.