PHP code example of waglpz / docker

1. Go to this page and download the library: Download waglpz/docker library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

waglpz / docker example snippets

bash
 echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  <UBUNTU_VERSION_NAME> stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null