wadmiraal / docker-drupal Goto Github PK
View Code? Open in Web Editor NEWQuick and dirty Drupal for development
Quick and dirty Drupal for development
Hello! Before that, everything was working, now reinstalled the image and can not perform the input to the container across ssh, the same situation phpmyadmin " #1698 - Access denied for user 'root'@'localhost'"
the site works ok once cached but first page loads (all of them) are very slow. first page load after login taking up to a minute.
im testing for first time and i havent mounted any volumes to host.
any suggestions to speed up initial page loads greatly appreciated.
The project looks great and thank you for posting code. I'm trying it for a Docker introduction and to run Drush on an existing site.
Is it possible pointing the image to existing host files and a mysql instance? My site is running on the host laptop IIS (but no drush). I'm seeing a "no site found" error when trying the project:
alpin@nick-hp MINGW64 /c/www/docker
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
<none> <none> c11854b254d2 About an hour ago 714.9 MB
docker-whale latest 20fbd3f19fef 39 hours ago 274.2 MB
debian wheezy 5e2a9df259d2 12 days ago 84.89 MB
....
wadmiraal/drupal 7.41 e72766b0c738 6 weeks ago 631.2 MB
alpin@nick-hp MINGW64 /c/www/docker
$ docker run -v $(pwd):/c/www/wyc.intranet.uw.edu/washyacht/ drush/drush cc all -y
No Drupal site found, only 'drush' cache was cleared. [warning]
Looks like maybe an issue with the drupal console. I'm not familiar with it...
[InvalidArgumentException]
Command "module:install" is not defined.
Did you mean one of these?
site:install
module:download
The command '/bin/sh -c /etc/init.d/mysql start && cd /var/www && drupal module:download admin_toolbar 8.x-1.10 && drupal module:install admin_toolbar && drupal module:install simpletest' returned a non-zero code: 1
Hi Wouter
I am trying to use your docker-drupal on my MacBook Pro in a VirtualBox VM.
Works fine but in contrast to other containers my Mac tends to heat up like hell. My ventilator speeds up to almost maximum rpm after a few minutes. -> 95°C
I decreased the Execution Cap. of the boot2docker-vm to 40% but that gives me only a slight decrease in heat.
Do you experience the same behaviour on other installs?
I use VB 4.3.30 and boot2docker version 1.7.1, build 786b29d
I run Osx Yosemite 10.10.4 with 2,6GHz Intel Core i5 and 8 GB of RAM DDR3
Any suggestion?
Kind regards
Erwin
UPDATE
---> I think I found the source of the heat... I ran the docker via Kitematic, which I thought would be not much more than a gui, but in fact it does much more. When I run your docker directly in boot2docker, everything runs fine.
--> I also looked at the Mac-Activity-monitor who indicated that it was the 'electron-helper' proces taking insanely much processor time... I noticed on their community page the issue is known.
So: problem 'solved' at least I found a way around it.
Hi guys!
Running this command: drupal --target=docker.wadmiraal_drupal module:download ctools 8.x-3.0-alpha19
I receive the following errors:
PHP Warning: file_get_contents(): Filename cannot be empty in phar:///usr/local/bin/drupal/src/Helper/RemoteHelper.php on line 57
PHP Warning: file_get_contents(): Filename cannot be empty in phar:///usr/local/bin/drupal/src/Helper/RemoteHelper.php on line 62
Error with private key
I'm using the 1.0.0-beta3 version of Drupal Console
Could you help me with this issue?
...
Step 46 : RUN /etc/init.d/mysql start && cd /var/www && drupal module:download admin_toolbar 8.x-1.10 && drupal module:install admin_toolbar && drupal module:install simpletest
---> Running in 1538aa394250
Starting MySQL database server: mysqld ..
Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
[WARNING] In order to list all of the available commands you should install drupal first.
[Drupal\Core\DependencyInjection\ContainerNotInitializedException]
\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.
module:download [--latest] [--] []...
The command '/bin/sh -c /etc/init.d/mysql start && cd /var/www && drupal module:download admin_toolbar 8.x-1.10 && drupal module:install admin_toolbar && drupal module:install simpletest' returned a non-zero code: 1
Right now the debugging does not work, so we need to fix that.
why do you do this
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
what's the point?
regards
As reported by Bob:
Hi,
I very much appreciate the docker images you have provided. I am not a docker or drupal expert and I find the images are much easier to install that even docker-compose scripts.
However, I wanted to mention that it looks to me that the images for 8.2.6 and 8.2.7 lost the basic content types.
They changed the default.settings.php files to example.*
This would fix the building of the latest Drupal 8 modules
Hello, I can get puTTY to work up until password. Username I put in "root" but when I put in "root" for password, it says access denied. Any Ideas?
i can't find a working label to pull drupal 8.5.
docs suggest :8 label should do it, but thats pulling 8.4
any help appreciated
thanks
Cannot get HTTPS to work
Everytime i redirect to a https site on my test site i get "SSL_ERROR_RX_RECORD_TOO_LONG"
First of all...thanks for this it is a great start for me to use as my Drupal Dev environment. You mention in the Readme that it is using PHP 5.6 but in fact it is using 5.4. Can we get a release to correct that?
Many modules have it as a dependency, so we could install it by default.
With the latest version of PHPMyAdmin, simply installing it is not enough. It requires some more steps. See here: http://docs.phpmyadmin.net/en/latest/setup.html#phpmyadmin-configuration-storage
I've been following the tutorial at wadmiraal.net/lore/2015/03/27/use-docker-to-kickstart-your-drupal-development/ and have been having problems with folder permssions and apache.
I've put up a post on serverfault about it - see https://serverfault.com/questions/864902/403-forbidden-on-apache-2-4-10
I'm a bit a of a n00b with docker so forgive me if I'm missing something obvious!
After stopping and restarting the container all database changes seem to be gone. So how do I make the database persistant? Could you please document it in your readme.
Hi, i can't login to ssh with root:root.
From my local macosx:
ssh root@localhost -p 32773 <- docker port
root@localhost's password:
Permission denied, please try again.
root@localhost's password:
Permission denied, please try again.
root@localhost's password:
root@localhost: Permission denied (publickey,password).
I can successfully run a docker and pull your docker. However, when navigating to http://localhost:80 on my WIndows 10, I just get a blank page:
docker run -d -p 8080:80 -t wadmiraal/drupal:7
I am using Docker Toolbox. Do you have any insights as to how get it working?
Hi -- a great tutorial; works even on Windows!
However, I wonder what would you do if you wanted to make the database storage persistent. It is not very practical to have to import the database every time a container starts.
I'm seeing a few issues building the docker image as of yesterday. Seems that there are some packages that have changed recently as well as a composer issue? Just wondering if this is a known problem?
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.