Fun fact (from someone in the US): We don't use the "u" in words like color because news papers used to charge by the letter to print. It got dropped and stuck that way. Awesome video!
@jaxparrow1794
4 жыл бұрын
Sir, I cannot begin to thank you enough. You've pretty much set me on my way not only in regards to docker but in many other things. Once more, THANK YOUI!
@binarythistle
4 жыл бұрын
Awesome Nikola! Docker has fast become my absolute favorite tool so I want EVERYONE to learn and use it! Thanks for your lovely words - to know that I've helped someone makes my day! Cheers, Les
@NitinGarg
4 жыл бұрын
@Les: I am a .net developer I am really struggling to understand the concept of the docker and how does it is used in the real-world scenarios. Your videos really help me to understand the concept and as well as I can relate with a real-world scenario. Thank You Very Much for all the effort and time you put together to cover the content.
@pavanmanjunath7312
26 күн бұрын
Best tutorial for docker learners. Please do some videos on kubernetes from .Net core developer prospective. - Pods deletion - increase replicas - High level overview for developers who can handle production builds.
@MarkoMijuskovic
4 жыл бұрын
Hi Les, this is a great startup video and I was wondering is there any chance that you could make a more advanced version of it? The topics that I would like to know more about would be: 1. Setting up custom .env files with your docker-compose files. 2. Setting up volumes to persist various SQL Server container data. 3. Running SQL scripts against the containarized SQL Server instance, not via EF migration but via docker-compose command possibly? 4. Overwritting appsettings.json variables via environment variables in docker-compose.
@GreenDimka1
3 жыл бұрын
When I see Les mistyping I feel comfortable because it is not only me who has this "keyboard dyslexia". The video is great!
@Filipibc1
3 жыл бұрын
This is the best class/tutorial on youtube about Docker Compose.
@kevinmaguire1845
4 жыл бұрын
Watched 2 videos after finding your tutorials - Awesome - Great step by step walkthrough !! Looking forward to watching more,
@binarythistle
4 жыл бұрын
Cool thanks for the feedback Kevin
@nickeax
3 жыл бұрын
Thank you very much. Like all your videos, this is what most developers are looking for.
@beckhamsh3ban
3 жыл бұрын
Your tutorials Are Very very very satisfying, nice, and elegant, thanks
@bijitpal8322
4 жыл бұрын
Just what I needed!! Thanks for the amazing video.
@binarythistle
4 жыл бұрын
Awesome! Glad it helped
@mathiashove02
4 жыл бұрын
This is good stuff Les! Thank you, and greetings from Scandinavia.
@rasalshukla4046
3 жыл бұрын
Les , A big Thankyou to you . You made my day . You cover a lot of difficult things in a small time . Great Teacher
@RobertCoulston_au
4 жыл бұрын
Great starter for connecting API to SQL using containers... well done
@wicusbotha
4 жыл бұрын
Thanks again, for such a great tutorial! One hour well spent I followed coding along and everything is working like a charm as in your video. Awesome.
@binarythistle
4 жыл бұрын
Nice one Wicus! I love to hear that! Cheers, Les
@ganirban82
3 жыл бұрын
@Wicus Botha , Can u pls try it now and check that can api container able to connect sql-db container for data pulling ? I am using host(Dev environment) as win 10- Pro , Version 10.0.18362 -Build 18362(OS) and docker-desktop,version:2.3.0.4(46911)-Engine:19.03.12 . Pls, Check below thread.. github.com/microsoft/mssql-docker/issues/441 Thanks,
@ntson1710
4 жыл бұрын
Brilliant. A huge thank you from Canada, Les! Cheers mate
@binarythistle
4 жыл бұрын
Hi Thai, my pleasure, hope you're safe and well my friend! Take care, Les
@damilola_adegunwa
3 жыл бұрын
Thanks for being my best .net core teacher.
@quangduy924
3 жыл бұрын
Respect. I appreciate what you doing for community. Thanks Les, that's awesome
@somesbhowmick2082
Жыл бұрын
Great video, so much noise in internet, but no one explain in a simple way. It is straight to the point and clean explanation, Thank you. it will be great if you can make a video related topic how DotnetCore unit test test project will communicate with SQL server, I think it will be very small chnage in docker file. right now I am trying to do this stuff.
@haysuse9810
4 жыл бұрын
Extremely great and easy to understand tutorial
@binarythistle
4 жыл бұрын
Thanks for the feedback Hay, that's what I'm aiming for so great to hear. Cheers, Les
@fpsantos8222
4 жыл бұрын
OMG Thank you! You just won a new student sub from Brazil!
@binarythistle
4 жыл бұрын
Awesome, thank you!
@raghavbuz
5 жыл бұрын
Thank you for sharing this...looking forward for more videos.
@binarythistle
5 жыл бұрын
Thanks Raghav!
@ghatak71
4 жыл бұрын
Awesome information shared! Much appreciated Les! Not much of this information were available when I started in 2017. This is exactly what I needed.
@binarythistle
4 жыл бұрын
Hi Anirban! Cool I'm glad it helped you out - stay safe! Les
@ianvink
4 жыл бұрын
Thanks Les, that was excellent. Consider adding links to positions in the video in your description, that way we can skip if there are areas we already know.
@pravink3585
4 жыл бұрын
Thank you very much sir for such great video. You made it very simple to learn Docker things. Thank you again!!!
@erialmelo
4 жыл бұрын
This is the best video, i have ever seen about docker. Good job.
@yasinbabaoglu3839
4 жыл бұрын
again,So exciting and clear session. congrats again :) Thanks for the course Les. take care mate
@kothasuryakala3827
2 жыл бұрын
Thanks alot for the detailed explanation, it really helped to resolve my issue.
@a-s733
3 жыл бұрын
Very clear example. Thank you. It helped me a lot. Thanks again.
@user-gm8pd4do3i
3 жыл бұрын
I love your explanatory teaching technique so much
@eliassal1
4 жыл бұрын
Great tutorial les as usual. However, in the last part, when you run "docker-compose...." the 2 services run very fast and we can see the api container can connect to the sql, however, in my case, the sql container takes time and the api container fails to connect and exit, I need to open another PS and run the api service in spite of the fact that I added depends_on: - "ms-sql-server" but still docker-compose does not respect this and starts 1st the api container, thanks for your help
@npctako
2 жыл бұрын
If by anychance you read this i need help on this problem as well (sql wont connect) any idea to waht yo do ? I need to push the file to heroku for school project
@shakhil100
2 жыл бұрын
Amazing explanation
@shahid13384
3 жыл бұрын
Step by step indeed. Thank you.
@vkg.codefactory
3 жыл бұрын
Awesome video, excellent presentation, thank you for this !!!
@kartikbhargav6316
13 күн бұрын
My application is deployed but getting error when running api on docker. My database name is employee and if i am running any api tehn it throws error that employee.user (which is a table name does not exists).i have added the migrartion code in the program.cs file (database.migrate).Can you tell something ??
@speakerbugsounds9871
4 жыл бұрын
Called it on 3.0!! Great Vid, Im having someproblems getting my net core app to connect with sql though. 10 hours in and still trying though haha
@speakerbugsounds9871
4 жыл бұрын
I sorted it all out! I forgot to delete the images inbetween one of my attempts to change settings and thought that I therefore hadn't set the ports correctly. But I had haha learned a lot. thanks again!
@TheUnstoppableevil
4 жыл бұрын
Hey bro can u tell me how u connect them i am still having troubles..
@samarthrout
3 жыл бұрын
Awesome one , really helpful. only issue i faced, the api fails first time and on re-building it works. i tried to troubleshoot but couldn't get breakthrough.
@VladyslavPavliuk
4 жыл бұрын
1:02:05 - In my case in order to solve this connection problem I did a little bit more beside server name renaming from 'localhost' to 'ms-sql-server': 1. docker system prune 2. docker image prune -a I don't know why did it work only after these commands (maybe the cache was case).
@_grzehotnik
3 жыл бұрын
I followed the steps in the video, yet I get the exception: "Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server" when runnign docker-compose up. And right now I have no idea how to get it working. Could you help me?
@ItsDevOps
Жыл бұрын
Hi les - it possible to have visio chart for development lifecycle on how to tag the docker images - also dockerfile to build for each environment
@juhairahamed5342
Жыл бұрын
🎉good explanation
@kvskrishnan
4 жыл бұрын
pretty clear and well understandable steps. Thanks a lot bro :)
@binarythistle
4 жыл бұрын
Cool! Thanks for the feedback, I'm glad you found it useful. Les
@paolosartiano1454
Жыл бұрын
thank you very much!! great videos
@goosebottleYT
3 жыл бұрын
Thank you for this video! it was clear and understandable
@yashtalaiche2806
2 жыл бұрын
i am trying to insert into Database with this everything work fine docker + api but in database there is no changes reflected but insert and retrive option work fine
@danielgilleland8611
Жыл бұрын
Kudos on your spelling of Colour!
@Sekaranss
4 жыл бұрын
Extremely Great and easy to understand...thanks..
@monojoybhattacharjee8283
4 жыл бұрын
@Vlad Pavliuk what do you mean by that exactly . If i run docker compose then it runs the second time or else like @Amit Dixit told like I restart the API container again to make it work. If u resolved the issue can you please help
@parsalotfy
3 жыл бұрын
I love your tutorials
@rvrunkillyow716
11 ай бұрын
sir, how about in microservices, do i need to create individual image for each service that i am going to create? thanks.
@dheerrajpoot4017
4 жыл бұрын
I was facing databaseconnectivity issue and I've resolved it by making below changes: docker-compose.yml file: version: '3.4' services: colourapi: build: . environment: DB_CONNECTION_STRING: "Server=db;Database=Colours;User=sa;Password=Pa55w0rd2019" ports: - "8000:80" depends_on: - db db: image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu environment: ACCEPT_EULA: "Y" SA_PASSWORD: "Pa55w0rd2019" ports: - "9433:1433" Startup.cs file var connectionString = Environment.GetEnvironmentVariable("DB_CONNECTION_STRING"); services.AddDbContext(options => options.UseSqlServer(connectionString));
@brianbaldos
3 жыл бұрын
Thanks for your great content as always. Fantastic!
@binarythistle
3 жыл бұрын
My pleasure - thanks Brian!
@rdrgox
4 жыл бұрын
thank you, worked perfect on Ubuntu Server 20.04
@TihomirKit
4 жыл бұрын
Hi, what's the music you used in your video (if it's some band / artist)? Thanks! :D
@iandavies1524
3 жыл бұрын
Just in case anyone knows how to fix this. docker-compose up throws SqlException (0x80131904) - network or authentication problem when applying EF migrations. dotnet run works as expected writing migrations & seed data to containerised SQL server. Two days with Google/Stack Overflow not getting me anywhere - ColourAPI container can't login to SQL server container. Cross matching docker-compose.yml & Startup.cs does not appear to work for me
@SLHooLigON
Жыл бұрын
Thank you for the video. Awesome content
@ahmadyamout6867
2 жыл бұрын
Thank you dear for you videos. But dear how to deploy it to devops ci cd and the sql can do the update database
@Miglani21
4 жыл бұрын
Thanks for the video. It is again a great tutorial from you. Can you please touch upon the concept of dependencies among containers within a single docker-compose. Here the ms-sql-server container takes time to start but the the colour-api tries to make connection to ms-sql-server container and it keeps failing. How we ensure that the colour-api waits for the ms-sql-server container to start before making connection. I tried depends_on docker-compose option but it doesnot solves the purpose.
@nikfp
3 жыл бұрын
In the docker-compose file, in the ColourAPI service, add a line "restart: on-failure". This will force the ColourAPI container to continually restart until the SQL server is ready to accept connections.
@Jensensjyde
2 жыл бұрын
@@nikfp been trying to fix this for the last three hours, and this was the best solution i've found haha.
@pollathajeeva23
Жыл бұрын
Hi Les, I could like to add some test for the same API to run that in GitFlows but it fails and result in connection error. Please me in this.
@nestormatias217
3 жыл бұрын
thanks really usefull this channel for Net developers i apprecieted that Les you're brillant
@vchirilov
Жыл бұрын
Hi Les. Can you please look at this time 50:56? You map 8080:80, however within container web.api works on port 5000, thus you should have mapped 8080:5000, isn't it?
@Jensensjyde
2 жыл бұрын
1:03:06 i get an error: "Login failed for user 'sa'. Reason: An error occured while evaluating the password."
@carlamckenzie2669
3 жыл бұрын
What do we change to run a .Net Framework Application?
@MrMymusicmyguitar
3 жыл бұрын
Excellent explanation. Thank you
@genius6240
4 жыл бұрын
Extremely amazing one!
@binarythistle
4 жыл бұрын
Cool!
@TyMac711
3 жыл бұрын
A great walk through!
@mikekilikis4657
2 жыл бұрын
So if I do this, can my app run on a linux server just by type docker compose up?
@alexwang1701
4 жыл бұрын
Great tutorial. Thanks Les!
@kmart2k1
4 жыл бұрын
Nice job. Learned a lot.
@ucretsiztakipci6612
4 жыл бұрын
Great video, thanks for sharing it! I wonder what we can do for the existing database. We can not reset the database.
@RobertCoulston_au
4 жыл бұрын
Hey Les, I had to use 127.0.0.1 instead of localhost to get the connection to SQL server to work
@Vibranium85
4 жыл бұрын
Thank you for sharing this...I was wondering if I can use this same technique if my asp.net core app is in a Docker container, but the SQL server is out in a private network.
@khoufiwissem1086
3 жыл бұрын
good job , i have question about the sql database connexion , why do you not use connexion string in appsettings.json ? if i use my credentials of my data base in appsettings.json i will get problem ? , thanks in advance for your help
@santhosh26d
4 жыл бұрын
Great videos!!!.pls do videos for microservices
@usmantahir3452
2 жыл бұрын
Hi Les Jackson, Thank you so much for a great video content. Can you please make a video of same concept, that how to deploy SQL and API in azure containers? It would be great
@programmershubea5768
4 жыл бұрын
Hi Les, thank you i was able to connect the application with the sql server, now i wanted to pull the image on linux for hosting should i still use the previous image before i used docker compose?
@amanjain9271
3 жыл бұрын
Thank you so much , Thanks a lot :)
@thesuperiorman8342
3 жыл бұрын
So if I pull a SQL server image from docker, does that mean I don't need to have SQL server installed in my computer?
@RaWMajkeL
3 жыл бұрын
I have a question - last video you have shown how to deploy it to ubuntu - how do I do it now with docker-compose? Thanks for any tips
@akbare-z815
4 жыл бұрын
Hallo Sir, Im curious about how the docker serve the API at port 80 instead of 5000 like what in your launchSettings.json. Is the cointainer has its own setting inside?
@emmanuel8296
3 жыл бұрын
Thanks Les, however i spelt my Colour as Color...please how do one push both the database image and app to docker hub
@tushar1439
4 жыл бұрын
Thanks Les ,it was really a nice informative video.I also have almost same requirement .But my sql server is running on remote VM.So what changes you are suggesting ? I am able to telnet sql server from inside the container but my api not connecting to database and give me NET_SSL_Error.Please help.
@mzuhry4263
3 жыл бұрын
awesome video, I have 1 question: when I restore my database to SQL server on docker and then delete the containers. what will happen to my database? is it gone too?
@lunaticore1992
Жыл бұрын
nice video, dou you have any video doing the same but using .Net 6 ?
@AlexGhoro
4 жыл бұрын
26:39 Hi again Jack, what do you suggest to do this in a production environment? It's there a way to access the dotnet-ef cli from the container right? like if I need want to run the database update to create my database?.
@jeremygraham7786
4 жыл бұрын
Hey Alex, did you find a method of doing this in production?
@AlexGhoro
4 жыл бұрын
@@jeremygraham7786 Hello! actually no, I'm doing it like him, running the dbContext.Database.Migrate(); on the Startup class, Idk is that's too bad to be honest, in theory your application should not be restarting every time in production, btw I'm using postgresql and when I run the docker compose up the first time the container with my app stops/crash because the db isn't created yet, so I need to connect to the postgres container instance (that runs ok) and create the database there manually using the psql cli, then stop everything and run it again, and the migrations run without problems.
@jeremygraham7786
4 жыл бұрын
@@AlexGhoro gotcha, thanks for the update mate.I am using SQL but docker compose seems to crash my api too unless I manually migrate as shown here. I'm running into problems with this method when writing unit tests though. Thanks for the info.
@danieljunior6282
4 жыл бұрын
Hi Les, thank you for sharing! But i have a problem: I do the same thing and follow all steps, my docker compose is exact equals but my api not connect to the sql server noway, Can you help me? I have another sql server installed in default port for this i chenged my port in the compose to 1401. Please, help -me! greetings from Brazil
@ranjanv7103
4 жыл бұрын
Thank you very much , great video.
@nestormatias217
3 жыл бұрын
whic is the best practice to set up migrations if we are working with docker and microservices on production???
@OnTheSpurOfTheMoment
4 жыл бұрын
Great job Les. Just wondering if 'depends_on' is advisable to be used when defining the API compose part?
@whattowatchrightnow
4 жыл бұрын
good stuff. but what if I wanted to use a certificate to connect from the docker container to MSSQL? Can you show us?
@bicatu
4 жыл бұрын
Can you do a similar video with visual studio 2019 instead of vs code?
@binarythistle
4 жыл бұрын
Hi Mario, Last few videos I have been concentrating on VS Code. However I may revisit Visual Studio and play with some of its new features.
@amitkumdixit
4 жыл бұрын
How will take this approach to production. Since my database will have existing data. How is docker compose helpful in production.
@ralphmaasgmailcom
4 жыл бұрын
Hi Les great video. I have question, it is possible to run such a docker-compose on a rapsberry pi 4
@shishirroy1516
4 жыл бұрын
Excellent tutorial. One small Q - I am using Docker Toolkit. In this case, few things are not working as mentioned in this tutorial. Is it possible to include the Docker Toolkit use case for future Docker related tutorials?
@parsalotfy
3 жыл бұрын
Great videos
@juzerhakimji9720
3 жыл бұрын
Really useful video ! Thanks :)
@talgatsabyrov9957
5 жыл бұрын
Perfect! You answered to all my questions. Like and Subscription
@binarythistle
5 жыл бұрын
Awesome!
@santhosh26d
4 жыл бұрын
Hi les, great videos ..pls do videos for microservices
@ashishagrawal2434
3 жыл бұрын
Hey Les, First of all, thanks for such an awesome content. I am following your S3 tutorials and I tried to dockerize the Commander API and SQL Server by following this tutorial. I succeeded but after having spent almost a day in trying to figure out that docker-compose doesn't do the migration of your DB. In this video you did a hack for the migration. Could you please tell how would you do it in an enterprise level solution? I googled many articles but couldn't find anything. Thanks.
@linoypappachan4272
4 жыл бұрын
Thank you so much, such great stuff... Could you please do a tutorial on how to deploy docker containers in production(on-premise server with no internet connectivity and Azure cloud).
Пікірлер: 195