Category : docker

I have local MySQL database created in docker container from following docker-compose.yml version: ‘3.6’ services: mysql: environment: – MYSQL_DATABASE=root – MYSQL_ROOT_PASSWORD=changeme – MYSQL_USER=dbuser – MYSQL_PASSWORD=changeme command: – –table_definition_cache=100 – –performance_schema=0 – –default-authentication-plugin=mysql_native_password – –innodb_use_native_aio=0 volumes: – ./init:/docker-entrypoint-initdb.d container_name: mysqldb image: mysql And it’s working fine – I can enter docker container, log in as root ..

Read more

I m trying to create .net 5.0 docker image with playwright, my image build properly but when i run my app using dotnet run ‘ProjectName’ it fails while executing command: await using var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions { Headless = false, Args = new[] { "–disable-dev-shm-usage" } }); Received error: Unhandled exception. Microsoft.Playwright.PlaywrightException: Browser ..

Read more

When running docker-machine within my Linux Ubuntu machine I receive an error of this although it creates the machine but just has it within a state of "STOPPED" which is probably due to the error I am unsure of. docker-machine create –virtualbox-no-vtx-check -d virtualbox default2 Running pre-create checks… Creating machine… (default2) Copying /home/ubuntu/.docker/machine/cache/boot2docker.iso to /home/ubuntu/.docker/machine/machines/default2/boot2docker.iso… ..

Read more

I generated a base react app with create-react-app and generated a Dockerfile.dev inside of the project directory FROM node:16-alpine WORKDIR ‘/app’ COPY ./package.json ./ RUN npm install COPY ./ ./ CMD [ "npm","start" ] Ran the build with docker build -f Dockerfile.dev -t dawnmd/react . Started the docker container with docker run -it -p 3000:3000 ..

Read more

I recently started using git worktree and it is awesome. However, I am not sure how to make it work with Docker. Here is my flow: repo-a has a dockerFile to build a local container. I create a new worktree like git worktree add branch-a this will create a folder named branch-a with branch branch-a. ..

Read more

Olá, estou montando um projeto com laravel e utilizando docker, nginx e etc… Quando entro na rota ‘/’ o redirecionamento é feito de forma normal, porém quando tendo entrar em qualquer outro tipo de rota ‘/alunos’, por exemplo, o docker me retorna esse erro. Alguém tem ideia de como resolver? 2021/10/28 17:36:34 [error] 23#23: *8 ..

Read more