[Question] [Docker] What is the correct way to perform "php artisen migrate" in Dockerized deployment #17558
Unanswered
parthghughri
asked this question in
Q&A
Replies: 1 comment
-
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Debug mode
Describe the bug
As per the documentation here, while upgrading snipeit docker container we need to perform:
The issue here is it says "snipeit:latest does not found locally".
If I give name snipe/snipe-it (docker run snipe/snipe-it PHP artisen migrate) it is trying to run a new container from the snipe/snipe-it image.
If the container is already running then shouldn't it be with exec with additional --force
Here --force to prevent it from giving this error

Thanks in advance.
Reproduction steps
Expected behavior
Execute php artisen migrate command
Screenshots
By running the command defined in the documentation:

Snipe-IT Version
v6.2.4-pre build 12343 (gb23ce6cfc)
Operating System
Ubuntu
Web Server
Apache
PHP Version
8.1.2-1ubuntu2.14
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions