Docker for PHP Developers

Поделиться
HTML-код
  • Опубликовано: 22 июл 2024
  • Docker is an open platform for building, shipping and running distributed applications. It gives programmers, development teams and operations engineers the common toolbox they need to take advantage of the distributed and networked nature of modern applications.
    During this webinar Chris Tankersley, the author of the book Docker for Developers and a PHP Community member, shared with us how to make it easier to build, test, and deploy distributed applications with Docker. In this webinar you can learn what containers are, how to work with them, how they can help you as a developer, and how to make Docker work directly with PhpStorm.
    Learn about PhpStorm at: www.jetbrains.com/phpstorm/
  • НаукаНаука

Комментарии • 27

  • @symbally
    @symbally 8 лет назад +2

    Thank you very much for making this video. Very concise and clear, it has been the Docker intro video I've been waiting for. Will be spending some time tomorrow to drop my Virtualbox / SSHFS setup; this makes it look as clunky as it really is

  • @FedericoResnizky
    @FedericoResnizky 8 лет назад +11

    I was hoping to learn more about docker integration on PhpStorm. Especially setting up xdebug, unit testing, etc

    • @JetBrainsTV
      @JetBrainsTV  8 лет назад +1

      Thank you for your feedback. It will definitely come in one of the the next webinars and/or video as we are planning some major improvements there.

  • @MrFlorinserbu
    @MrFlorinserbu 7 лет назад +1

    A quick note for Docker Native users on Windows10: you can't acces the container via direct IP from the host machine as Chris does at 40:14 on his ubuntu host. So you will have to use -p 8080:80 option to be able to acces your web_server container.
    More on the subject here: github.com/docker/for-win/issues/221

  • @phexter
    @phexter 8 лет назад

    I loved the video for a general introduction to Docker. What I was looking for, though, was a tutorial on, for example, set up a small PHP project with PHPStorm and Docker. Like how to set up a web server container, a PHP container, a data container and how I can map my files into the whole composition during development and then copy the files into a data container for production deployment. Last but not least I was also looking for on how to set up all of that in a way that is easily committable to git and as such shareable across the whole team.
    But from what I read in the comments below, it sounds like there might be coming something like that in the (hopefully near) future.

  • @jaydeluca4
    @jaydeluca4 8 лет назад

    Really enjoyed this, thanks.

  • @gopalindians
    @gopalindians 8 лет назад +2

    Hey Chris nice video,
    How you edited the index page, i am unable to find nano, vi in my container, and not even apt-get ?

    • @EgorUshakov
      @EgorUshakov 8 лет назад +2

      Jump into container with $ docker exec -it bash, then apt-get update to load repo data, and now the container is ready to install any software you need.

    • @gopalindians
      @gopalindians 8 лет назад

      Wow it's working , thanks Egor.

  • @rseriani
    @rseriani 8 лет назад

    Actually, in the Dockerfile, you need to clean/remove the apt cache file in the same instruction as you do the update/install, because docker will create a layer for each one of Dockerfile instructions, and the layers are readonly (or more precisely the stack is mounted in as a COW).

  • @NguyenTuMRTUVN
    @NguyenTuMRTUVN 7 лет назад +2

    Anyone know how to start container and bind data directory so Phpstorm able to edit files?
    I can't find the way to do that

    • @JetBrainsTV
      @JetBrainsTV  7 лет назад +1

      A common way would be setting up a volume binding between the PhpStorm project directory and some directory inside the container
      www.jetbrains.com/help/phpstorm/2016.3/run-debug-configuration-docker-deployment.html#container_tab
      docs.docker.com/engine/tutorials/dockervolumes/

    • @timurakhalaya6289
      @timurakhalaya6289 5 лет назад

      @@JetBrainsTV docker container run -d -t --name='julia' -p 8080:80 -v $(pwd):/usr/share/nginx/html nginx after that open your dir in phpstorm and that's it

  • @TAGHREEDAA
    @TAGHREEDAA 6 лет назад

    in the minute 21:25 which file we modified into Hello world?

  • @EgorUshakov
    @EgorUshakov 8 лет назад

    Thanks, Chris, a lot for the video. It helped me to grasp some Docker conceptions. But I still can't decide for myself whether Docker is ready for development on Windows or not. E.g, I tried to replicated your examples with Nginx images with no luck. I tried D:\Users\..., //d/Users/..., /d/Users/..., "D:\Users\..." to map host directory to a container's one, but Nginx displayed its default welcome page. Every time I jumped into container with `$ docker exec -it bash` and found out that both /etc/nginx/conf.d and /var/www directories did not contain any files from host machine. Then I decided to use more advanced, Docker volumes, way. It's OK but how can I let my PhpStorm look into that volume?

  • @JonathanPohlner
    @JonathanPohlner 5 лет назад

    right after explaining how you use a seperate container just for data, I realize docker has released 17 versions.. I was wondering if you still prefer this method?

  • @mountainhobo
    @mountainhobo 6 лет назад

    Thanks for the video, really useful. BTW, minor nitpick, it's "oh-es-ten" ("X" as in Roman numeral).

  • @mehdilamaafar5823
    @mehdilamaafar5823 8 лет назад

    thanks

  •  8 лет назад

    could provide the slide?

    • @JetBrainsTV
      @JetBrainsTV  8 лет назад +2

      Here's a link: www.slideshare.net/ctankersley/docker-for-php-developers-jetbrains

  • @stephandevries5069
    @stephandevries5069 8 лет назад +1

    You guys really need to up the audio quality, thanks for the vid though.

    • @JetBrainsTV
      @JetBrainsTV  8 лет назад

      Thanks for your feedback. It is a live webinar recording so there are some inherent limitations but a good headset and Internet connection goes a long way. We will explore further ways to make improvements too.

  • @NguyenTung-ss8cq
    @NguyenTung-ss8cq 8 лет назад

    The audio quality of this webinar should be improved.

  • @wjrasmussen666
    @wjrasmussen666 7 лет назад

    Docker seems expensive for the solo coder. Might be ok for business. I guess I am just cheap!

    • @JetBrainsTV
      @JetBrainsTV  7 лет назад +1

      Be sure that you are looking at the price of an individual as the commercial one loads by default: www.jetbrains.com/phpstorm/buy/#edition=personal

    • @JonathanPohlner
      @JonathanPohlner 5 лет назад

      there's Community Edition and Toolbox are both free and seem to do everything I've needed so far

  • @ForsagForsag
    @ForsagForsag 7 лет назад

    LEMP на Docker за 5 минут ruclips.net/video/owE3Et6PaQM/видео.html