Git Product home page Git Product logo

docker-drupal's Introduction

Hi, I'm Wouter

I'm a husband and father of 2.

I love solving complex problems and finding elegant solutions.

When it comes to software development, I love beautiful and simple code (see Slippers or wutils). I've worked as a designer, frontend, backend, fullstack, sysadmin, and devops, before finally moving back to frontend development when I joined @SonarSource.

I'm currently working as an Engineering Manager at @SonarSource inside the SonarQube Team.

docker-drupal's People

Contributors

edurenye avatar mishac avatar theodorosploumis avatar wadmiraal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-drupal's Issues

I can't login to ssh

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).

why do you remove sh?

why do you do this

RUN rm /bin/sh && ln -s /bin/bash /bin/sh

what's the point?

regards

Persistent MySQL storage

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.

Run mounting host application??

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]





HTTPS

Cannot get HTTPS to work
Everytime i redirect to a https site on my test site i get "SSL_ERROR_RX_RECORD_TOO_LONG"

Docker build broke

docker build -t corwin/drupal .

...
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

PHP 5.4 not PHP 5.6

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?

docker drupal images 8.2.6 and 8.2.7

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.

can't pull drupal 8.5 image?

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

Can not log into container.

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'"

Heating up

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.

Using it on Windows

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?

Docker not building

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?

drush ssh password

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?

module install error on docker build

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

exceptionally slow on first page load

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.

Drupal Console run error

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.