Comments (5)
docker has a copy command you can use to retrieve and push files to containers! I find this makes editing larger docs easier.
docker ps
to grab the name of the container (isle-web, isle-solr, isle-fedora, isle-db are our options)
to get a file docker cp isle-web:/etc/apache2/sites-available/sites.conf ~/Desktop/site.conf
to push a file docker cp ~/Desktop/sites.conf isle-web:/etc/apache2/sites-available/site.conf
edited: never edit the file in sites-enabled! also this will only work for some files.
from isle.
Thanks Ben. I think settings.php is one of those files that it does not work on? I tried this...
ma7053:ISLE markmcfate$ docker cp isle-web:/var/www/html/sites/default/settings.php ~/Desktop/settings.php
ma7053:ISLE markmcfate$ docker cp ~/Desktop/settings.php isle-web:/var/www/html/sites/default/settings.php
I was able to easily edit the file in between 'docker cp' commands but got this when I tried to write the file back...
Error response from daemon: Error processing tar file(exit status 1): remove /settings.php: device or resource busy
Made me wonder if Atom might have a Docker package to assist with this. Didn't find exactly this but there are some Atom goodies out there that I might look at later.
from isle.
@McFateM Dangit! I'm Sorry. So much for that work around - interesting that file is WO. Right?
Are you able to: docker exec -it isle-<whatever> bash
and then apt update; apt install nano -y
? Ubuntu should automatically change you editor choice to nano, but if not and you would like to make sure: update-alternatives โconfig editor
from isle.
Good morning @br2490. Yes, I was able to open a bash shell and add nano in.
from isle.
@McFateM A reasonable request for the web image/container. Added nano to installed tools. (via this commit) Closing ticket.
from isle.
Related Issues (20)
- Staging install instructions: clarify or improve "commit locally to git" HOT 2
- Documentation: How to build a Multisite in ISLE HOT 3
- Drush crashes due to IMI use of Composer in install-local-migrate process at Step 10 HOT 5
- Development needed for Cantaloupe upgrade from 4.0.3 to 4.1.5 HOT 2
- Restore production `/var/www/html/sites/default/files` in `install-local-migrate.md` HOT 1
- Run standalone fedora image with AWS RDS configuration.
- Documentation: small fixes to install-environments.md HOT 1
- Documentation: update the final terminal output of install_solution_packs.sh HOT 1
- Error Message needs attention HOT 1
- Insufficient TemporaryStore disk space halting FEDORA HOT 4
- WARC tools missing from ISLE-apache Dockerfile HOT 4
- No documentation about configuring to send mail HOT 13
- Documentation update: docs/update/update.md needs "master" changed to "main" HOT 3
- Traefik should get an upgrade to 2.0
- Removing forced permissions check on ISLE apache image every time container restarts HOT 1
- Migration instructions have an odd step. HOT 5
- cache.server.source.ttl_seconds set twice in cantaloupe.properties HOT 1
- Tailing fedoragsearch logs: path needs correction HOT 4
- Staging Migration: Software Dependencies for both Ubuntu and CentOS are missing two steps HOT 1
- Should there be a warning that the docs are for ISLE7 / Islandora 7 and not for ISLE2 / Islandora 2 HOT 1
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 isle.