docker-fifth-birthday's People
Forkers
sixeyed anelson-ippon harshal-shah hopla-training david-maumenee normalfaults kkgowda ishantanu solidnerd strongjz subfuzion ashcherbinin yass1r michaelpereira rameshnayak100 dockernashvillemeetup jonasvinther fanilorandria vsawchuk leecalcote mthapa aug1186 sawad yigalakselman jwbennet enesaltuntas fcastell sfc-gh-eraigosa gitsuren luisgo1411 kunalkushwaha jwchng mohan08p chrislesage bhamakripa shitalmule04 fernandrone capoletti sziliotti velascosi codestrike innovater21 kushagr142 gachet joaorodolfocunha yaronbasson sgiobairog minasys nbokka ajeetraina maniac-tech chowdhary987 fadcrep psellars-hyprnz dpinto2 mad-learner kc17 hrsh74 rducharme imrepo roc41d robbiejvmw jakeelong ozcanozkaya lambdaml matengelhardt chinmoymohanty85 davidkupratis insighttechworld tom-canova-mckesson elvis-nketi-tech rabieezz humbertojaimes karthik0621 menningkeneiext jbadru73 florianock iamkavinash 9khj9 knecota chav-aniket alexrogalskiy lokam4u fungirl01 prakasha4devopsdocker-fifth-birthday's Issues
kube-deployment.yml: error converting YAML to JSON: yaml: line 92: mapping values are not allowed in this context
I am using Docker Desktop to run the voting app, I am following the tutorial the link in the command line is deprecated :
kubectl apply -f https://raw.githubusercontent.com/docker/docker-birthday/master/resources/kubernetes-docker-desktop/vote.yaml
So I tried to use the link from this repo :
kubectl apply -f https://github.com/dockersamples/docker-fifth-birthday/blob/master/kubernetes-desktop/kube-deployment.yml
But this error keeps on popping :
error: error parsing https://github.com/dockersamples/docker-fifth-birthday/blob/master/kubernetes-desktop/kube-deployment.yml: error converting YAML to JSON: YAML: line 92: mapping values are not allowed in this context
---
apiVersion: v1
kind: Service
metadata:
name: result
labels:
app: result
spec:
type: LoadBalancer
ports:
what am I doing wrong?
MTA Java Add mention of RBAC without going into it
Current default is run as admin, which is fine, but mention RBAC for real production use
Just a thought
It would be nice to have clean up steps after completion of lab to remove all created objects.
MTA Java react client doesn't pull movies
voting app fifth birthday lab "Now browse to http://localhost:8081 and you will see the same site."
The URL should be http://localhost:5000 (not 8081)
movieplex7 application URL
This is related to Modernizing Traditional Java Applications.
As per instruction, I was trying to hit movieplex7 url with 8080 port but got error however it works with designated port i.e. http://ip172-18-0-6-baoohqugera000cf87og.direct.beta-hybrid.play-with-docker.com:30364/movieplex7/faces/client/movies.xhtml
And when I tried to connect to react-client url, pages appears but could not connect to movieplex7 service. I think it might be trying to connect to 8080 port instead of 30364.
Kubernetes on Docker for Windows example needs specific Kubernetes Manifest
I tried to deploy kube-deployment.yml with Kubernetes on Docker for Windows 18.03.0-ce-rc4.
The DB pod is on error :
kubectl logs -f db-6488476b5-25gs9
...
state:
waiting:
message: 'Error response from daemon: invalid mode: /var/lib/postgresql/data'
reason: CreateContainerError
The issue comes from the persistent Volume Claim
kubectl get pv --output=yaml
...
hostPath:
path: C:\Users\d.maumenee/.docker/Volumes/postgres-pv-claim/pvc-5a21cf61-2957-11e8-a980-00155d4b0118
By default, the volume is mapped on my windows file system but according to docker for windows documentation, it's can rise issues :
If possible, avoid volume mounts from the Windows host, and instead mount on the MobyVM, or use a data volume (named volume) or data container. There are a number of issues with using host-mounted volumes and network paths for database files.
There is already an issue declared on docker/for-win github
I didn't manage to change the behavior of the default storageClass.
To deploy on Docker for Windows I use this work around in the db deployment :
volumeMounts:
- name: db-data
mountPath: /var/lib/postgresql/data
volumes:
- name: db-data
hostPath:
path: /tmp/postgres-data
type: DirectoryOrCreate
It works only on single node cluster, but Kubernetes integrate in Docker for Windows is exactly a single node cluster.
See kube-deployment-volume-without-claim.yml in pull request #7
Docker version : 18.03.0-ce-rc4-win57 (16511)
Windows 10 Pro 1703 (build 15063.850)
For the Windows Peeps
Docker for Beginners - Linux - Task2 - Query
Task 2 (https://training.play-with-docker.com/beginner-linux/#Task_2) step 1 mentions
cd ~/linux_tweet_app
where is this directory linux_tweet_app? . I believe the files in this directory (html and png) are referenced in the dockerfile in subsequent steps.
Output from web console below
[node1] (local) [email protected] ~
$ ls -al ~/
total 16
drwx------ 1 root root 18 Feb 8 01:20 .
drwxr-xr-x 1 root root 57 Mar 23 14:45 ..
drwx------ 3 root root 17 Feb 8 01:20 .cache
-rw-rw-r-- 1 root root 43 Jan 17 16:42 .gitconfig
-rw-rw-r-- 1 root root 1865 Jan 17 16:42 .inputrc
-rw-rw-r-- 1 root root 185 Jan 17 16:42 .profile
drwxr-xr-x 2 root root 61 Feb 8 01:20 .ssh
-rw-rw-r-- 1 root root 85 Jan 17 16:42 .vimrc
MTA Java make note about replacing dtr host more prominent
Check ee-workshop for example
volume mounts in Docker for Desktop Kubernetes
Hello,
Does anybody know why i cant mount files from my compose file in Kubernetes but for Docker swarm it works?
i am using the new Kubernetes feature in Docker for Desktop. The mount im trying to make is:
Volumes:
- C:\docker\appsettings.json:/app/appsettings.json
i am getting this error:
Stack.compose.docker.com "adapter" is invalid: adapter: Invalid value: "null": conversion to kube entities failed: C:\docker\appsettings.json: only absolute paths can be specified in mount source
The kubernetes deployment examples do not work with k8s > 1.16
The example deployment for kubernetes is in line with an old version of kubernetes and does not comply with the new k8s APIs for versions greater than 1.16.
For examples Deployments not longer use apiVersion as v1beta1; they have been migrated to v1
Also, the Deployment spec has changed a little.
Incorrect command details "docker stack rm wordsmith" in voting app fifth birthday lab
in the kubernetes desktop lab we deploy the voting app using the docker-compose file. We then rm it with the command "docker stack rm wordsmith", the stack name is not wordsmith, but "voting-app".
Great labs!
Happy Birthday.
no matching manifest for linux/amd64
I'm getting this when running "docker image build" on Windows 10 Pro.
ee-beta-labs.play-with-docker.com provides linux only cluster
Hello,
Please see title.
Thanks in advance,
Naseem
voting app fifth birthday lab typo "Then browse to http://localhost:5000 to see the voting page and http://localhost:5000=1 to see the results."
The second URL should be http://localhost:5001 (not 5000=1)
MTA Java must run on Master Node
Specify in description that you must run the first part in the master node
add DTR environment variable, as in ee-workshop
It's easier to set a $DTR_HOST during set-up and use that. e.g.
$ docker login $DTR_HOST
$ docker image tag movieplex7-tomee $DTR_HOST/admin/movieplex7-tomee
MTA add where to find credentials for DTR
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.