Skip to content

Commit

Permalink
Remove Specify 6 image instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfitzsimmons committed Aug 20, 2024
1 parent a490e64 commit accb2b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
39 changes: 0 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,45 +306,6 @@ systemctl enable specify7-test-panel-update.path
systemctl start specify7-test-panel-update.path
```

### Emulating x86_64 for Specify 6 images

Using an emulation layer like `binfmt_misc` or `docker-run-arm` can help you run `x86_64` images on an `arm64` platform.

Here's an example of how you can use `binfmt_misc` to run `x86_64` images on an `arm64` platform:

1. Install `binfmt_misc` on your system:
```
sudo apt-get update
sudo apt-get install binfmt-support qemu-user-static
```
2. Configure `binfmt_misc` to enable emulation:
```
sudo update-binfmts --enable
```
3. Create a `binfmt_misc` configuration file to enable `x86_64` emulation:
```
sudo tee /proc/sys/fs/binfmt_misc/register <<EOF
:x86_64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00:\xff\xff\xff\xff\xff\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-x86_64-static:
EOF
```
4. Reload the `binfmt_misc` configuration:
```
sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
```
5. Update your `docker-compose.yml` file to use the `x86_64` architecture:
```
specify6803:
image: specifyconsortium/specify6-service:6.8.03
architecture: x86_64
volumes:
- specify6803:/opt/Specify
```
6. Run `docker-compose up` to start the containers:
```
docker-compose up
```


### Using fswatch

After user changes the configuration in the panel, `./state/docker-compose.yml`
Expand Down
2 changes: 1 addition & 1 deletion app/lib/dockerCompose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
${
deployments.length === 0
? `
mariadb:
nginx:
restart: unless-stopped`
: ''
}
Expand Down

0 comments on commit accb2b6

Please sign in to comment.