• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
G
G
ganjo8882020-07-18 15:33:56
Docker
ganjo888, 2020-07-18 15:33:56

How to run a migration when starting a container?

I do this docker run --rm --name test migrator -c 'php artisan migrate'
what is correct?

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

0 answer(s)
Similar questions
V
Viktor Yurchenko2020-08-14 16:13:19
Is it possible to run Docker if the laptop does not support virtualization? 1Reply
M
Mariik2021-11-28 23:40:32
How to mount docker volume from under Windows to Linux image? 1Reply
G
glader2018-09-21 16:14:37
Why doesn't Docker map files to host? 0Reply
S
Sergey2020-08-17 13:02:59
Is it possible to pass additional non-variables in Gitlab CI for a manual job? 1Reply
M
MRcracker2018-09-27 17:13:37
How to fix port matching? 0Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners