Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop then start laradock the global composer package is missing #2517

Closed
wangdeer opened this issue Feb 24, 2020 · 1 comment
Closed

Stop then start laradock the global composer package is missing #2517

wangdeer opened this issue Feb 24, 2020 · 1 comment

Comments

@wangdeer
Copy link

Description:

Hi ! I have a problem when using laradock.

I installed a package in workspace with the commond composer global require deployer/deployer,
but when I stop the laradock with docker-compose down,
then start the laradock with docker-compose up -d nginx mysql redis workspace elasticsearch, the global compser package in workspace is missing.

The same problem occurs in elasticsearch, when I install a plugin, the plugin is missing when I stop the laradock then start laradock.

Expected Behavior:

Context information:

Output of git rev-parse HEAD

0d086024a8b7cff30f45860fe28c9ae896281bc8

Output of docker version

Client: Docker Engine - Community
 Version:           19.03.6
 API version:       1.40
 Go version:        go1.12.16
 Git commit:        369ce74a3c
 Built:             Thu Feb 13 01:27:49 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.6
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.16
  Git commit:       369ce74a3c
  Built:            Thu Feb 13 01:26:21 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.12
  GitCommit:        35bd7a5f69c13e1563af8a93431411cd9ecf5021
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Output of docker-compose version

docker-compose version 1.24.0, build 0aa59064
docker-py version: 3.7.2
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j  20 Nov 2018

System info: Mac, Windows or Linux. Include which disto/version

OS: Ubuntu 18.04.4 LTS x86_64
Kernel: 5.3.0-40-generic

Steps to reproduce the issue:

  1. Install package in workspace with composer global require deployer/deployer.
  2. Stop laradock with docker-compose down.
  3. Start laradock with docker-compose up -d nginx mysql redis workspace elasticsearch
  4. Enter workspace, view the /home/laradock/.composer/composer.json file, the package is missing.

Stacktrace & Additional info:

{paste here}
@wangdeer
Copy link
Author

I'm so sorry ! It's my fault, didn't read the document carefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant