Comments (5)
@igorpereirabr1, ola..
Não sei se ajuda, mas resolvi meus problemas similares usando variáveis de ambiente no windows.
COMPOSE_FORCE_WINDOWS_HOST = 1
COMPOSE_CONVERT_WINDOWS_PATHS= 1
refs.: https://docs.docker.com/compose/reference/envvars/
outro ponto, foi o SymLinks do windows, nas politicas de usuários..
(docker/for-win#2743)
Ref. https://docs.docker.com/docker-for-windows/faqs/#how-do-symlinks-work-on-windows
E percebi que as vezes o erro gerado, é por consequência de outros pontos não ajustados, não necessariamente reflete o problema direto..
depois de tudo isso configurado, realizei o prune geral e reset do docker... subi tudo novamente...
agora eu alterno entre as Stacks usando parametro --remove-orphans (compose-cli) sem problemas de rede, portas ou compartilhamentos...
espero que te ajude...
from bigdata_docker.
Amigos, consegui resolver... copiei novamente a pasta mysql aqui do repo para minha máquina, deletando completamente a antiga. Além disso, exclui a imagem e o container que estavam criados, de modo que ao executar o compose, ele carregou a imagem novamente e criou um container novo o qual não deu erro de inicializacão.
Muito obrigado por todo o suporte!
from bigdata_docker.
@igorpereirabr1 showwww. legal ter compartilhado a solução. tks
from bigdata_docker.
Olá @igorpereirabr1, provavalemente de ser o mapeamento do disco.
Você baixo o repo em C:\docker\bigdata_docker ?
from bigdata_docker.
@fabiogjardim, está no diretório correto, veja:
@grdonda, inclui as variáveis indicadas e reiniciei o docker, entretanto ainda assim retorna o erro.
Vejam o log da ultima tentativa:
`2020-06-03 14:20:36+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.29-1debian10 started.
2020-06-03 14:20:41+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2020-06-03 14:20:41+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.29-1debian10 started.
2020-06-03T14:20:42.223926Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-06-03T14:20:42.232733Z 0 [Note] mysqld (mysqld 5.7.29) starting as process 1 ...
2020-06-03T14:20:42.252870Z 0 [Note] InnoDB: PUNCH HOLE support available
2020-06-03T14:20:42.252893Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-06-03T14:20:42.252896Z 0 [Note] InnoDB: Uses event mutexes
2020-06-03T14:20:42.252899Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2020-06-03T14:20:42.252901Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-06-03T14:20:42.253714Z 0 [Note] InnoDB: Number of pools: 1
2020-06-03T14:20:42.254949Z 0 [Note] InnoDB: Using CPU crc32 instructions
2020-06-03T14:20:42.256383Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-06-03T14:20:42.264358Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-06-03T14:20:42.266981Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-06-03T14:20:42.307402Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2020-06-03T14:20:42.313515Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 155984619
2020-06-03T14:20:42.313530Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 155984628
2020-06-03T14:20:42.313538Z 0 [Note] InnoDB: Database was not shutdown normally!
2020-06-03T14:20:42.313541Z 0 [Note] InnoDB: Starting crash recovery.
2020-06-03T14:20:42.795735Z 0 [ERROR] InnoDB: Operating system error number 1 in a file operation.
2020-06-03T14:20:42.795757Z 0 [ERROR] InnoDB: Error number 1 means 'Operation not permitted'
2020-06-03T14:20:42.795762Z 0 [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html
2020-06-03T14:20:42.795765Z 0 [ERROR] InnoDB: File ./ibtmp1: 'delete' returned OS error 101.
2020-06-03T14:20:42.795768Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-06-03T14:20:42.796309Z 0 [ERROR] InnoDB: Operating system error number 1 in a file operation.
2020-06-03T14:20:42.796321Z 0 [ERROR] InnoDB: Error number 1 means 'Operation not permitted'
2020-06-03T14:20:42.796324Z 0 [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html
2020-06-03T14:20:42.796327Z 0 [ERROR] InnoDB: File ./ibtmp1: 'stat' returned OS error 101.
2020-06-03T14:20:42.796329Z 0 [ERROR] InnoDB: os_file_get_status() failed on './ibtmp1'. Can't determine file permissions
2020-06-03T14:20:42.796331Z 0 [ERROR] InnoDB: Could not create the shared innodb_temporary.
2020-06-03T14:20:42.796334Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-06-03T14:20:43.097652Z 0 [ERROR] InnoDB: Operating system error number 1 in a file operation.
2020-06-03T14:20:43.097681Z 0 [ERROR] InnoDB: Error number 1 means 'Operation not permitted'
2020-06-03T14:20:43.097688Z 0 [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html
2020-06-03T14:20:43.097693Z 0 [ERROR] InnoDB: File ./ibtmp1: 'delete' returned OS error 101.
2020-06-03T14:20:43.097699Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-06-03T14:20:43.097703Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-06-03T14:20:43.097708Z 0 [ERROR] Failed to initialize builtin plugins.
2020-06-03T14:20:43.097711Z 0 [ERROR] Aborting
2020-06-03T14:20:43.097715Z 0 [Note] Binlog end
2020-06-03T14:20:43.097781Z 0 [Note] Shutting down plugin 'CSV'
2020-06-03T14:20:43.100971Z 0 [Note] mysqld: Shutdown complete
`
from bigdata_docker.
Related Issues (9)
- fatal: repository 'https://github.com/fabiobjardim/bigdata_docker.git/' not found HOT 1
- Windows 10 Enterprise 64-bit HOT 2
- importante
- Error while instantiating 'org.apache.spark.sql.hive.HiveExternalCatalog HOT 5
- Dúvida sobre docker HOT 1
- ingest data / demo example HOT 3
- move no lugar de rm
- java.net.UnknownHostException: historyserver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigdata_docker.