• Skip to main navigation
  • Skip to main content
  • Skip to footer
  • Portfolio
    • Java
    • DevOps
    • PHP
    • Web shop
    • Web site
    • HTML5
    • Data mining
    • Games
  • Applications
  • online games
  • Services
  • Posts
    • Author: QubeDron
    • Author: SnailDog
  • Experiments
  • Contacts
  • Skip to menu toggle button

ScAlAn

Scientific Algorithms and Analytics

Tag: docker

Docker: How to copy file from container to local computer

Task: Copy some file from container to local computer Solution: docker cp <container>:<path><filename.ext> <localpath> Example: docker cp nginx:/var/log/mylog.log . Done.
Continue reading “Docker: How to copy file from container to local computer”…
Posted on: September 1, 2021 Last updated on: September 1, 2021 Comments: 0 Written by: Alex

Howto setup docker in Ubuntu 18.04

Task: setup docker in Ubuntu 18.04 Implementation: sudo apt  install docker-composesudo docker ps To avoid use ‘sudo’ do next: sudo…
Continue reading “Howto setup docker in Ubuntu 18.04”…
Posted on: October 28, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Docker: Setup MySQL master-slave

Task: create docker-compose environment to run MySQL master and slave servers. Implementation: docker-compose.yml file: version: ‘2’ services: mysqldb-master: image: mysql:5.7…
Continue reading “Docker: Setup MySQL master-slave”…
Posted on: March 6, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Docker MySQL Stress test

Task: Create environment to run series of read/write queries to real MySQL server. Before make real experiments I tried to…
Continue reading “Docker MySQL Stress test”…
Posted on: February 28, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Fix import huge database into Docker MySQL container

When I tried to import dump file using mysql command I saw ‘lost connection’ or ‘server has gone away’ error……
Continue reading “Fix import huge database into Docker MySQL container”…
Posted on: January 24, 2020 Last updated on: December 23, 2020 Comments: 1 Written by: Alex

Docker php+mysql+xdebug

Steps to create configuration: Create docker-compose.yml version: “2” services: web: image: nginx:latest ports: – “80:80” volumes: – ./apps/default:/apps/default – ./logs/nginx:/logs/nginx…
Continue reading “Docker php+mysql+xdebug”…
Posted on: August 22, 2019 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Docker – copy file from container to host by imagename

To copy file from container file system to host use next command:

Continue reading “Docker – copy file from container to host by imagename”…
Posted on: February 15, 2017 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Run test in docker

To do that use next steps.

Continue reading “Run test in docker”…
Posted on: February 9, 2017 Last updated on: February 9, 2017 Comments: 1 Written by: Alex

Docker disk memory leak (create/remove images)

While I am using docker I noticed this problem on my Mac computer.

Continue reading “Docker disk memory leak (create/remove images)”…
Posted on: February 3, 2017 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Docker – remove all images and containers

In order to remove all containers, you can use the command: docker rm $(docker ps -a -q)   In order…
Continue reading “Docker – remove all images and containers”…
Posted on: December 31, 2016 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Docker – copy file from container to host

In order to copy a file from a container to the host, you can use the command:

Continue reading “Docker – copy file from container to host”…
Posted on: December 31, 2016 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Recent Posts

  • Raspberry Pi Set custom display resolution
  • How to create floppy image file on Mac
  • How to decode file from cp866 to utf on Mac
  • How to remove Docker popup message to create symlink at startup OsX
  • How to open finder window with current path
  • Netbeans How to create multicursor editing
  • Prepare infrastructure, CI/CD, Support of WP site on AWS
  • Javascript: Configure web page to open it in fullscreen mode
  • Netbeans How to select vertical blocks
  • Game: classical tetris game with 2 players at the same screen
  • Java: dbUnit add support of jsonb type in the H2 mem db with Postgres mode
  • Game: classical tetris game
  • Java: Tests custom JSON comparator

What’s ScAlAn?

Main activity of our co-working team is service to develop and support IT solutions.

Can we help?

We can offer professional development and support for your business.

You have an idea?
You want to make some improvement?
You want to implement?

Contacts

Email: info@scalan.com
Phone: +38 (067) 573-24-19
Skype: scalan75
© 2023 ScAlAn | Using Modern WordPress theme. | Back to top ↑