Project files for PentaCode Youtube channel.
Website: https://penta-code.com
Channel: https://www.youtube.com/Pentacode
PentaCode Youtube Channel Project Files
Home Page: https://www.youtube.com/Pentacode
Project files for PentaCode Youtube channel.
Website: https://penta-code.com
Channel: https://www.youtube.com/Pentacode
Hi,
Welcome to phpMyAdmin
Error
MySQL said:
* #2002 - php_network_getaddresses: getaddrinfo failed: Name does not resolve - The server is not responding (or the local server's socket is not correctly configured).
* mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve
* mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name does not resolve
I run it in the following way under Mac with docker 18.03:
$ docker-machine create -d virtualbox temp.sysadmin.local
Running pre-create checks...
Creating machine...
(temp.sysadmin.local) Copying /Users/lorencm/.docker/machine/cache/boot2docker.iso to /Users/lorencm/.docker/machine/machines/temp.sysadmin.local/boot2docker.iso...
(temp.sysadmin.local) Creating VirtualBox VM...
(temp.sysadmin.local) Creating SSH key...
(temp.sysadmin.local) Starting the VM...
(temp.sysadmin.local) Check network to re-create if needed...
(temp.sysadmin.local) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env temp.sysadmin.local
$ docker-machine env temp.sysadmin.local
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/lorencm/.docker/machine/machines/temp.sysadmin.local"
export DOCKER_MACHINE_NAME="temp.sysadmin.local"
# Run this command to configure your shell:
# eval $(docker-machine env temp.sysadmin.local)
What did I miss?
Thank you in advance,
Michal
I got the following error using dockerLEMP
Creating mgsvdocker2_mysql_1 ...
Creating mgsvdocker2_phpfpm_1 ...
Creating mgsvdocker2_mysql_1
Creating mgsvdocker2_phpfpm_1 ... done
Creating mgsvdocker2_nginx_1 ...
Creating mgsvdocker2_mysql_1 ... done
Creating mgsvdocker2_phpmyadmin_1 ...
Creating mgsvdocker2_nginx_1 ... error
ERROR: for mgsvdocker2_nginx_1 Cannot start service nginx: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/home/mictadlo/projects/mGSV-docker2/nginx/default\\\" to rootfs \\\"/var/lib/docker/overlay2/2ffca193aad22856bb6c8e1262fc6c001fde8c5354009a366eeb6d9092d50b63/merged\\\" at \\\"/var/lib/docker/overlay2/2ffca193aad22856bb6c8e1262fc6c001fde8c5354009a366eeb6d9092d50b63/merged/etc/nginx/sites-enabled/default\\\" caused \\\"not a directory\\\"\""Creating mgsvdocker2_phpmyadmin_1 ... done
ERROR: for nginx Cannot start service nginx: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/home/mictadlo/projects/mGSV-docker2/nginx/default\\\" to rootfs \\\"/var/lib/docker/overlay2/2ffca193aad22856bb6c8e1262fc6c001fde8c5354009a366eeb6d9092d50b63/merged\\\" at \\\"/var/lib/docker/overlay2/2ffca193aad22856bb6c8e1262fc6c001fde8c5354009a366eeb6d9092d50b63/merged/etc/nginx/sites-enabled/default\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.
What did I miss?
Thank you in advance
Michal
Not needed at the moment, but will create a video for it in the future.
I had to add the extension for the nginx to start.
I get the below errors:
MySQL said: Documentation
#2005 - Unknown MySQL server host 'db' (-2)
mysqli_real_connect(): (HY000/2005): Unknown MySQL server host 'db' (-2)
the <StickyContainer>
no longer uses the style props instead it requires the inner content of the <Sticky>
to be a call back function like this:
{({ style }) => ( <div style={style}> <Content /> </div> )}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.