# Cannot start Docker

**URL:** <https://community.open-emr.org/t/cannot-start-docker/18967>\
**Category:** Support\
**Created:** [August 13, 2022, 10:40am UTC](https://community.open-emr.org/t/cannot-start-docker/18967 "2022-08-13T10:40:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 13, 2022, 10:40am UTC](https://community.open-emr.org/t/cannot-start-docker/18967/1 "2022-08-13T10:40:13Z")

</div>

**Situation**  
I have just pulled OpenEMR Docker without error. But [https://localhost/](https://localhost/) produces the Apache 2 Default page and [https://localhost/openemr/](https://localhost/openemr/) produces 404 Not Found.

sudo service apache stop produces “Failed to stop apache.service: Unit apache.service not loaded”.

Apache 2 is installed.

What should I do?

Many thanks.

**OpenEMR Version**  
I’m using OpenEMR version 7.0.0 Docker

**Browser** :  
I’m using: Firefox 103.0.2

**Operating System**  
I’m using: Linux Mint 21

---

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [August 13, 2022, 6:49pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/2 "2022-08-13T18:49:54Z")

</div>

Pulling the image into your repository doesn’t help. You need to launch the image as a container, either through `docker run` (spoilers: probably not) or through a docker-compose file (like the one discussed at [openemr-devops/docker/openemr/7.0.0 at master · openemr/openemr-devops · GitHub](https://github.com/openemr/openemr-devops/tree/master/docker/openemr/7.0.0/#openemr-official-docker-image) ).

In either case, you’d have docker running _in the guest container_, it wouldn’t have anything to do with Apache running on the host.

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 13, 2022, 9:59pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/3 "2022-08-13T21:59:41Z")

</div>

@jesdynf

Thank you for your response but I am afraid I do not understand the language. I need simple instructions.

My previous openemr docker installation had a directory called ‘openemr’ in my home directory. I had assumed that simply pulling it from this page would set it up: [https://hub.docker.com/r/openemr/openemr/](https://hub.docker.com/r/openemr/openemr/)

As you have pointed out, this is not sufficient. But I have forgotten what else I need to do since I last did this several years ago. The instructions on the page you have linked to are clearly intended for technical specialists. To the day-to-day user like myself (a medical professional rather than an IT one) they are opaque jargon of very limited usefulness. Please imagine a doctor explaining to you your critical condition in medical jargon unintelligible to the lay person.

What else do I need to do in simple step-by-step instructions?

Many thanks. I do appreciate it.

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 15, 2022, 7:33am UTC](https://community.open-emr.org/t/cannot-start-docker/18967/4 "2022-08-15T07:33:02Z")

</div>

Can anyone else help with this? I really need to get it up and running by Friday. I feel it must be a simple thing if you know how but I don’t know how and cannot find any instructions I can understand.

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [August 15, 2022, 1:39pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/5 "2022-08-15T13:39:25Z")

</div>

hi @rdh61, thought you were [trying to upgrade](https://community.open-emr.org/t/upgrading-docker-from-6-0-0-to-7-0-0/18863/9)?

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 15, 2022, 2:09pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/6 "2022-08-15T14:09:32Z")

</div>

Hello @stephenwaite , this is on a different system.

---

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [August 15, 2022, 2:19pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/7 "2022-08-15T14:19:37Z")

</div>

Hello, Robert.

You’re looking for [openemr-devops/docker/openemr/7.0.0 at master · openemr/openemr-devops · GitHub](https://github.com/openemr/openemr-devops/tree/master/docker/openemr/7.0.0) , which has a copy of the docker-compose file, and some other commentary at [https://github.com/openemr/openemr/blob/master/DOCKER\_README.md](https://github.com/openemr/openemr/blob/master/DOCKER_README.md) may be helpful.

Honestly it sounds to me like you’ve already got a webserver running on your local machine, however, because Apache responded when you asked. It’s not clear from what you’ve explained, but it might be that you _are_ starting docker-compose correctly but the existing webserver is keeping it from binding the ports. I’m not certain how to help you remove that.

---

<div class="post-metadata">

**Author:** ![snailwell](https://community.open-emr.org/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@snailwell](https://community.open-emr.org/u/snailwell)\
**Post date:** [August 16, 2022, 12:08pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/8 "2022-08-16T12:08:12Z")

</div>

Does sudo service apache2 stop work?

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 5:56pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/11 "2022-08-16T17:56:55Z")

</div>

No errors were reported from `sudo service apache2 stop`. But openemr still does not load in my browser.

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 5:58pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/12 "2022-08-16T17:58:59Z")

</div>

@jsedynf

Thank you. See my reply to @snailwell above.

I am also adding a new comment below, describing exactly what I have done so far.

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 6:12pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/13 "2022-08-16T18:12:06Z")

</div>

Here is what I have done so far:

(1) Installed [docker.io](http://docker.io).  
(2) Run `sudo docker pull openemr/openemr`.  
(3) Installed apache2.  
(4) Created folder ‘openemer’ in my home folder.  
(5) Copied docker-compose file from [https://github.com/openemr/openemr-devops/tree/master/docker/openemr/7.0.0/#openemr-official-docker-image](https://github.com/openemr/openemr-devops/tree/master/docker/openemr/7.0.0/#openemr-official-docker-image).  
(6) Saved above as docker-compose.yml in my ~/openemr folder.  
(7) Installed docker-compose and run `sudo docker-compose up -d` from my ~/openemr folder.  
(8) Attempted to bring up openemr in my browser by typing in ‘localhost’. This produces the Apache default page.  
(9) Attempted to bring up openemr in my browser by typing in ‘localhost/openemr’. This produces the Apache default page. This produces a 404 Not Found page.  
(10) `sudo service apache2 stop` - No change in behaviour.  
(11) Cleared cache from browser - No change in behaviour.  
(12) Tried different browser - No change in bahavious.

```auto

```

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [August 16, 2022, 6:55pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/14 "2022-08-16T18:55:09Z")

</div>

no need to install apache2, the openemr docker takes care of that

go to ~/openemr

`docker-compose up`

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 6:56pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/15 "2022-08-16T18:56:01Z")

</div>

I have finally found some instructions that I had been looking for till now from @stephenwaite : [Blank screen on first start of OpenEMR 5.0.2 - #40 by stephenwaite](https://community.open-emr.org/t/blank-screen-on-first-start-of-openemr-5-0-2/14412/40) .

It appears that in my attempts to remember/figure out what needed to be done I have predictably missed out a few steps, namely, after installing [docker.io](http://docker.io):

- s`udo systemctl enable --now docker`
- `sudo usermod -aG docker $USER`
- `newgrp docker`

I have now done them and run `docker-compose up -d` again.

No joy.

I read in the same thread that Apache could be competing for ports, so I commented out port 80 in the docker-compose file. No difference. I have now uninstalled apache2.

Now both [http://localhost](http://localhost) and [http://localhost](http://localhost) produce ‘Problem loading page. Secure connection failed’.

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [August 16, 2022, 6:57pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/16 "2022-08-16T18:57:14Z")

</div>

you can remove apache2 and then exit out of your shell and open another so that your new group permissions take effect

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 7:10pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/17 "2022-08-16T19:10:58Z")

</div>

```auto
robert@roberts-Lenovo-B590:~/openemr$ docker-compose up
openemr_mysql_1 is up-to-date
openemr_openemr_1 is up-to-date
Attaching to openemr_mysql_1, openemr_openemr_1
openemr_1 | Generating a RSA private key
openemr_1 | ...............++++
openemr_1 | ......................................................................................................................++++
openemr_1 | writing new private key to '/etc/ssl/private/selfsigned.key.pem'
openemr_1 | -----
openemr_1 | Running quick setup!
openemr_1 | Running quick setup!
mysql_1 | 2022-08-16 14:16:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 14:16:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2022-08-16 14:16:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 14:16:11+00:00 [Note] [Entrypoint]: Initializing database files
mysql_1 | 
mysql_1 | 
mysql_1 | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mysql_1 | To do so, start the server, then issue the following command:
mysql_1 | 
mysql_1 | '/usr/bin/mysql_secure_installation'
mysql_1 | 
mysql_1 | which will also give you the option of removing the test
mysql_1 | databases and anonymous user created by default. This is
mysql_1 | strongly recommended for production servers.
mysql_1 | 
mysql_1 | See the MariaDB Knowledgebase at https://mariadb.com/kb
mysql_1 | 
mysql_1 | Please report any problems at https://mariadb.org/jira
mysql_1 | 
mysql_1 | The latest information about MariaDB is available at https://mariadb.org/.
mysql_1 | 
mysql_1 | Consider joining MariaDB's strong and vibrant community:
mysql_1 | https://mariadb.org/get-involved/
mysql_1 | 
mysql_1 | 2022-08-16 14:17:13+00:00 [Note] [Entrypoint]: Database files initialized
mysql_1 | 2022-08-16 14:17:13+00:00 [Note] [Entrypoint]: Starting temporary server
mysql_1 | 2022-08-16 14:17:13+00:00 [Note] [Entrypoint]: Waiting for server startup
mysql_1 | 2022-08-16 14:17:13 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 95 ...
mysql_1 | 2022-08-16 14:17:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1 | 2022-08-16 14:17:13 0 [Note] InnoDB: Number of pools: 1
mysql_1 | 2022-08-16 14:17:13 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1 | 2022-08-16 14:17:13 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1 | 2022-08-16 14:17:13 0 [Note] InnoDB: Using Linux native AIO
mysql_1 | 2022-08-16 14:17:13 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1 | 2022-08-16 14:17:13 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1 | 2022-08-16 14:17:15 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1 | 2022-08-16 14:17:15 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1 | 2022-08-16 14:17:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1 | 2022-08-16 14:17:15 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1 | 2022-08-16 14:17:15 0 [Note] InnoDB: 10.6.8 started; log sequence number 42173; transaction id 14
mysql_1 | 2022-08-16 14:17:15 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1 | 2022-08-16 14:17:15 0 [Warning] 'user' entry 'root@f0991c55a714' ignored in --skip-name-resolve mode.
mysql_1 | 2022-08-16 14:17:15 0 [Warning] 'proxies_priv' entry '@% root@f0991c55a714' ignored in --skip-name-resolve mode.
mysql_1 | 2022-08-16 14:17:15 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
mysql_1 | 2022-08-16 14:17:15+00:00 [Note] [Entrypoint]: Temporary server started.
mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
mysql_1 | 2022-08-16 14:17:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
mysql_1 | 
mysql_1 | 2022-08-16 14:17:32+00:00 [Note] [Entrypoint]: Stopping temporary server
mysql_1 | 2022-08-16 14:17:33 0 [Note] mysqld (initiated by: root[root] @ localhost []): Normal shutdown
mysql_1 | 2022-08-16 14:17:33 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1 | 2022-08-16 14:17:33 0 [Note] InnoDB: Starting shutdown...
mysql_1 | 2022-08-16 14:17:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 14:17:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 14:17:33
mysql_1 | 2022-08-16 14:17:34 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1 | 2022-08-16 14:17:34 0 [Note] InnoDB: Shutdown completed; log sequence number 42185; transaction id 15
mysql_1 | 2022-08-16 14:17:34 0 [Note] mysqld: Shutdown complete
mysql_1 | 
mysql_1 | 2022-08-16 14:17:35+00:00 [Note] [Entrypoint]: Temporary server stopped
mysql_1 | 
mysql_1 | 2022-08-16 14:17:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
mysql_1 | 
mysql_1 | 2022-08-16 14:17:35 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1 | 2022-08-16 14:17:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1 | 2022-08-16 14:17:35 0 [Note] InnoDB: Number of pools: 1
mysql_1 | 2022-08-16 14:17:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1 | 2022-08-16 14:17:35 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1 | 2022-08-16 14:17:35 0 [Note] InnoDB: Using Linux native AIO
mysql_1 | 2022-08-16 14:17:35 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1 | 2022-08-16 14:17:35 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1 | 2022-08-16 14:17:37 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1 | 2022-08-16 14:17:37 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1 | 2022-08-16 14:17:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1 | 2022-08-16 14:17:37 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1 | 2022-08-16 14:17:37 0 [Note] InnoDB: 10.6.8 started; log sequence number 42185; transaction id 14
mysql_1 | 2022-08-16 14:17:37 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 14:17:37 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1 | 2022-08-16 14:17:37 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1 | 2022-08-16 14:17:37 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1 | 2022-08-16 14:17:37 0 [Note] Server socket created on IP: '::'.
mysql_1 | 2022-08-16 14:17:37 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 14:17:37
mysql_1 | 2022-08-16 14:17:37 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
mysql_1 | 2022-08-16 14:19:50 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql_1 | 2022-08-16 14:19:50 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1 | 2022-08-16 14:19:51 0 [Note] InnoDB: Starting shutdown...
mysql_1 | 2022-08-16 14:19:51 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 14:19:51 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 14:19:51
mysql_1 | 2022-08-16 14:19:52 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1 | 2022-08-16 14:19:52 0 [Note] InnoDB: Shutdown completed; log sequence number 42341; transaction id 15
mysql_1 | 2022-08-16 14:19:52 0 [Note] mysqld: Shutdown complete
mysql_1 | 
mysql_1 | 2022-08-16 14:21:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 14:21:51+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2022-08-16 14:21:51+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 14:21:51+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mysql_1 | 2022-08-16 14:21:51 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Number of pools: 1
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1 | 2022-08-16 14:21:51 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Using Linux native AIO
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: 10.6.8 started; log sequence number 42341; transaction id 14
mysql_1 | 2022-08-16 14:21:51 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 14:21:51 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1 | 2022-08-16 14:21:51 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 14:21:51
mysql_1 | 2022-08-16 14:21:51 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1 | 2022-08-16 14:21:51 0 [Note] Server socket created on IP: '::'.
mysql_1 | 2022-08-16 14:21:52 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
mysql_1 | 2022-08-16 14:34:37 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql_1 | 2022-08-16 14:34:37 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1 | 2022-08-16 14:34:37 0 [Note] InnoDB: Starting shutdown...
mysql_1 | 2022-08-16 14:34:37 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 14:34:37 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 14:34:37
mysql_1 | 2022-08-16 14:34:38 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1 | 2022-08-16 14:34:38 0 [Note] InnoDB: Shutdown completed; log sequence number 42353; transaction id 15
mysql_1 | 2022-08-16 14:34:38 0 [Note] mysqld: Shutdown complete
mysql_1 | 
mysql_1 | 2022-08-16 17:31:42+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 17:31:45+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2022-08-16 17:31:45+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 17:31:45+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mysql_1 | 2022-08-16 17:31:45 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Number of pools: 1
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1 | 2022-08-16 17:31:45 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Using Linux native AIO
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: 10.6.8 started; log sequence number 42353; transaction id 14
mysql_1 | 2022-08-16 17:31:45 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 17:31:45 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1 | 2022-08-16 17:31:46 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1 | 2022-08-16 17:31:46 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 17:31:46
mysql_1 | 2022-08-16 17:31:46 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1 | 2022-08-16 17:31:46 0 [Note] Server socket created on IP: '::'.
mysql_1 | 2022-08-16 17:31:46 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
mysql_1 | 2022-08-16 19:05:47 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql_1 | 2022-08-16 19:05:48 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1 | 2022-08-16 19:05:48 0 [Note] InnoDB: Starting shutdown...
mysql_1 | 2022-08-16 19:05:48 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 19:05:48 0 [Note] InnoDB: Buffer pool(s) dump completed at 220816 19:05:48
mysql_1 | 2022-08-16 19:05:49 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
mysql_1 | 2022-08-16 19:05:49 0 [Note] InnoDB: Shutdown completed; log sequence number 42365; transaction id 15
mysql_1 | 2022-08-16 19:05:49 0 [Note] mysqld: Shutdown complete
mysql_1 | 
mysql_1 | 2022-08-16 19:06:45+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 19:06:48+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2022-08-16 19:06:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
mysql_1 | 2022-08-16 19:06:49+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mysql_1 | 2022-08-16 19:06:49 0 [Note] mysqld (server 10.6.8-MariaDB-1:10.6.8+maria~focal) starting as process 1 ...
mysql_1 | 2022-08-16 19:06:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1 | 2022-08-16 19:06:49 0 [Note] InnoDB: Number of pools: 1
mysql_1 | 2022-08-16 19:06:49 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1 | 2022-08-16 19:06:49 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mysql_1 | 2022-08-16 19:06:49 0 [Note] InnoDB: Using Linux native AIO
mysql_1 | 2022-08-16 19:06:49 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1 | 2022-08-16 19:06:49 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1 | 2022-08-16 19:06:50 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1 | 2022-08-16 19:06:50 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1 | 2022-08-16 19:06:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1 | 2022-08-16 19:06:50 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1 | 2022-08-16 19:06:50 0 [Note] InnoDB: 10.6.8 started; log sequence number 42365; transaction id 14
mysql_1 | 2022-08-16 19:06:50 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1 | 2022-08-16 19:06:50 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1 | 2022-08-16 19:06:50 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
mysql_1 | 2022-08-16 19:06:50 0 [Note] InnoDB: Buffer pool(s) load completed at 220816 19:06:50
mysql_1 | 2022-08-16 19:06:50 0 [Note] Server socket created on IP: '0.0.0.0'.
mysql_1 | 2022-08-16 19:06:50 0 [Note] Server socket created on IP: '::'.
mysql_1 | 2022-08-16 19:06:50 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '10.6.8-MariaDB-1:10.6.8+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution

```

Thank you. From localhost as well as localhost/openemr, I am still getting ‘Problem Loading Page. Secure Connection Failed’.

I see in the above code that I have to:

```auto
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mysql_1 | To do so, start the server, then issue the following command:
mysql_1 | 
mysql_1 | '/usr/bin/mysql_secure_installation'

```

Please could you confirm that I have to do this and if so, how do I “start the server”. Thank you.

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 7:20pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/18 "2022-08-16T19:20:49Z")

</div>

Sorry, I don’t understand “exit out of your shell”. I have removed apache2 and rebooted.

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [August 16, 2022, 7:26pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/19 "2022-08-16T19:26:38Z")

</div>

when you type exit the terminal closes and then you can reopen, also the `- d` let’s it run detached so you can continue to use that terminal, `docker-compose up -d`

give it a sec to load up and then go to [http://localhost/interface/login/login.php?site=default](http://localhost/interface/login/login.php?site=default) since you won’t have https running out of the box

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 9:44pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/20 "2022-08-16T21:44:37Z")

</div>

Thank you. It is now good to go.

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 16, 2022, 9:56pm UTC](https://community.open-emr.org/t/cannot-start-docker/18967/21 "2022-08-16T21:56:42Z")

</div>

Funny (and annoying) thing is it works now in Firefox but not in Chrome, my preferred browser  
(“This site can’t be reached - localhost refused to connect”), even after deleting cache.

---

<div class="post-metadata">

**Author:** ![rdh61](https://community.open-emr.org/user_avatar/community.open-emr.org/rdh61/32/11407_2.png) [@rdh61](https://community.open-emr.org/u/rdh61)\
**Post date:** [August 18, 2022, 9:06am UTC](https://community.open-emr.org/t/cannot-start-docker/18967/22 "2022-08-18T09:06:50Z")

</div>

After a reboot, I can no longer load openemr in Firefox either. I get “Secure Connection Failed … PR\_END\_OF\_FILE\_ERROR”.

SO frustrating!

Any further help, please?

[Next page](https://community.open-emr.org/t/cannot-start-docker/18967.md?page=2)
